Jump to content

find records by comparing two date fields


JMR

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

Recommended Posts

  • Newbies

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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