A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

MS Access Reports



 
 
Thread Tools Display Modes
  #1  
Old November 14th, 2005, 09:30 PM
GamecocksBaseball
external usenet poster
 
Posts: n/a
Default MS Access Reports

How do you highlight the first record in the detail section of a report. The
report has multiple groups, and field footers. I would like to be able to
show a text box on the first detail record only, of each group.
  #2  
Old November 14th, 2005, 11:34 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default MS Access Reports

GamecocksBaseball wrote:

How do you highlight the first record in the detail section of a report. The
report has multiple groups, and field footers. I would like to be able to
show a text box on the first detail record only, of each group.



Add a text box named txtLine to the detail section. Set its
ControlSource to =1 and RunningSum to Over Group. This
allows you to check which detail is being processed so you
can use a line of code in the detail section's Format event
to make the text box visible or not as desired:

Me.yourtextbox.Visible = (Me.txtLine = 1)

--
Marsh
MVP [MS Access]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stephen Lebans Report2PDF Silvester Setting Up & Running Reports 21 November 9th, 2005 10:10 PM
Access 2000 -vs- Access 2003? Mark General Discussion 5 November 30th, 2004 06:36 AM
Adding staff photographs to my database KK New Users 2 September 3rd, 2004 07:41 AM
limiting access to reports JMorrell General Discussion 3 July 28th, 2004 03:52 PM
ACCESS Reports Steve Setting Up & Running Reports 2 June 7th, 2004 02:58 PM


All times are GMT +1. The time now is 08:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.