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 7177 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am doing a job for a company that is locked into FMP v6. I have to make a relationship to records within a range of dates. I have done this by setting up a text field (tFindDate) and then running a script that Replaces the data in that field with 1 or 0 depending of whether the record is within the date range or not. The Replace formula looks like this:

If ( Date > BeginDate and Date < EndDate, 1, 0 )

(Those signs are supposed to be "greater than or equal to" and "less than or equal to" signs, but those aren't part of basic ASCII so I can't use them)

To call up all the related records within that range, I have a global link field that contains the number 1. (There are actually two other, non-date parameters involved. But let's keep it simple)

Does anyone have a method to do this sort of thing that doesn't involve going through all the records in the other file and identifying them? It works that way, but it is really slow and also a bit confusing to anybody else who has to work on your database later. By the way, I do know that FileMaker v7 is able to create relationships based on a date range; but, unfortunately, the company I am working for is stuck in v6 for the time being, so I am, too.

Thanks, Jake

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