Report Detail section coding

W

wallymeister

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
 
M

Marshall Barton

wallymeister said:
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.
 
W

wallymeister

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top