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

Help with Self Join (I think)


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

Recommended Posts

Posted

I have a table called addresses which has a field called current, each person can have a number of addresses; work, home, summer etc.

I have a relationship to the address table called Current Address based on ID and the field Current, which allows the current address to be shown on all the layouts where it is required, it works well.

Here is my problem, I would like to allow only one record to be set as current, but I can't figure out how to check to see if one is already set as current, and then message the user that another record is already set as current. I think a self-join could help, but not sure how to set it up. Any suggestions are appreciated.

Thanks,

Linda

Posted

Put the ID of the current address record in the Contacts table instead. That way you can only have one current address for any contact.

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