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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formula to identify first occurence (record) only

Status
Not open for further replies.

kbhmc

Programmer
Dec 21, 2005
1
US
Trying to display a date range for the first occurence of a record. Records may or may not have multiple occurences of a data element.
 
You haven't really provided enough information. I'll take a guess. Go to report->selection formula->GROUP and enter:

{table.date} = minimum({table.date},{table.groupfield})

This would return the earliest record per group.

-LB
 
As lbass said, we need more data. Sometimes you need a set of formula fields to assemble an answer that could be based on several different fields.

Remember to start with isnull, when checking for any value that may be null.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top