Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

First Record in a group 1

Status
Not open for further replies.

Smithsc

MIS
Apr 20, 2007
143
GB
Is there any functions similar to "OnFirstRecord" that can calculate the first record of a group.
 
You can use a clause like this in your formula:

(
onfirstrecord or
{table.groupfield} <> previous({table.groupfield})
)

You need to build in the "onfirstrecord" since for the first record there is no previous field, and the formula would otherwise return a null.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top