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

problems with related fields... :(


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

Recommended Posts

Posted

hi all,

i have 3 separate db's, let's say A is Clients db, B is Consulants db & C is XMas cards db. there's a field in both A & B so that if i put a tick in this field, a record would be generated in C using data from A OR B, data should include several fields from A & B.

Does anyone have any clue on how i could tackle this efficiently?

cheers

Posted

Any reason why you can't use a button to activate a script?

The script could tick the checkbox if that's what you're worried about.

The script would copy the client number or consultant number, then run an external script in XMas Cards called "New card from clients" or "New card from consultants" which would create the new record and lookup the necessary information.

Posted

thanks Jason, i think your solution would be good if i only have to insert the records in the XMas db once, problem is data such as address fields need to be updated automatically if their parent fields in A & B get changed. i am actually thinking of having calculated fields in XMas db, i can't think of anything yet though smile.gif cheers....

Posted

I've attached a simple example that shows a way to do what you want. Note that in the clients file, the XmasCard check box has been formatted as a button that performs a script to create or delete related records. A reverse relationship in the Xmas file displays current information directly from the Client file so that if Client information changes, it is immediately updated in the Xmas file.

createRelated.zip

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