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

Recommended Posts

Posted

I have a contact manager db and I only want to display one address per person. Currently I have to run a script attached to a primary checkbox looping and setting any related address to non-primary. Is there a trick to doing this using a one-to-one relationship? Or another basic way without a script?

Basically, if a person has three addresses and I set one to primary(1) all the others should be set to non-primary(0)

Posted (edited)

Hey Mikhail,

This will work, and am using this technique in other places where addresses are hardcoded to display a certain type of address (ie work address in the business section)...as the primary address (ie...work, school, etc) is not hard coded I was hoping to not have to use a script to copy or set the field.

Essentially this address can be any type of address, it just has a second identifier as being the primary address. The tricky part is when adding a new address or changing the primary address I want a bullet-proof way to make sure there is only one address set as the primary (preferrably without scripting)

Edited by Guest

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