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

compare current record field to next record field

Status
Not open for further replies.

BelindaNiles

Programmer
Jul 11, 2002
2
US
Hello -

I need to write a formula which will compare the EndTime in the current record to the StartTime of the next record. If there are any gaps or overlaps in time, I need to flag that line in the report.
I've tried a few different formula scenarios, but to no avail.
Any suggestions are welcomed and appreciated.
Thank you,
BelindaNiles
 
Try a formula with:

if {MyTable.Endtime} <> next({startime}) then
&quot;Doesn't Match!!!&quot;

Or just enter:

{MyTable.Endtime} = next({startime})

into the suppress formula for the detail and you'll only get those that don't match.

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top