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  

Report Detail section coding



 
 
Thread Tools Display Modes
  #1  
Old April 14th, 2010, 03:57 PM posted to microsoft.public.access.reports
wallymeister
external usenet poster
 
Posts: 26
Default Report Detail section coding

Is there a way I can know when the detail section of report moves to the
first record of a new group. Something like.....

If Me.DetailSection.BOF Then

I am using Access 2007
Any help is always appreciated.

Thanks,
Wally
  #2  
Old April 14th, 2010, 05:53 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Report Detail section coding

wallymeister wrote:

Is there a way I can know when the detail section of report moves to the
first record of a new group. Something like.....

If Me.DetailSection.BOF Then

I am using Access 2007



Add a text box to the detail section and set its expression
to =1 and RunningSum property to Over Group. The value of
the text box will be 1 for the first detail in the group.

--
Marsh
MVP [MS Access]
  #3  
Old April 14th, 2010, 06:41 PM posted to microsoft.public.access.reports
wallymeister
external usenet poster
 
Posts: 26
Default Report Detail section coding

Thanks Marsh,
That's was too simple. My mind is about fried, I'm ashamed of myself. I
knew that but for some reason I just tried to make it harder than it needs to
be.
Wally

"Marshall Barton" wrote:

wallymeister wrote:

Is there a way I can know when the detail section of report moves to the
first record of a new group. Something like.....

If Me.DetailSection.BOF Then

I am using Access 2007



Add a text box to the detail section and set its expression
to =1 and RunningSum property to Over Group. The value of
the text box will be 1 for the first detail in the group.

--
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


All times are GMT +1. The time now is 12:55 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.