Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7129 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there a way to look at the information for a record just before and after?

For example: If all the records have a time included and I want to know if the record before and after are within 30 minutes of the current record. Is there a way to autmotically flag and report those records?

Posted (edited)

Create a self-join based on:

YourTable::SerialID > YourTable 2::SerialID

Sort the relationship by SerialID, descending.

Define a calculation field =

Timefield <= YourTable 2::Timefield + 1800

This will return 1 if previous record's time is within 30 minutes of the current record, 0 otherwise.

If there's a chance of crossing midnight, use:

Timefield >= YourTable 2::Timefield and Timefield <= YourTable 2::Timefield + 1800

or

Timefield < YourTable 2::Timefield and Timefield <= YourTable 2::Timefield - Time ( 23 ; 30 ; 0 )

Edited by Guest

This topic is 7129 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.