Jump to content

find records by comparing two date fields


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

Recommended Posts

  • Newbies
Posted

I need to find records based on the content of one date compared against a second date field in the same table.

if date1 is greater than date2 show the record

Do I need a self-join to accomplish this?

Thanks

Posted

An easy way to do this is add a calculated number field = Date1 > Date 2. If true the result is 1 otherwise it is zero. Find the records that = 1.

Posted

You could use a relationship, as long as both date fields are not globals. A relationship where date1 > date2 or date2 < date1 should work. Use Go to Related Record [show only related; "thisrelationship"] to isolate the related records.

This topic is 7305 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.