Jump to content

Creating relationships and changing data in multiple tables


smeshy123

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

Recommended Posts

  • Newbies

I have 3 databases that I have linked based on a couple fields. They are linked by the actual values in the fields and not by foreign keys because of limitations in how much code I can change.

I would like to be able to change one of the linked values in any one of the databases and have it change that value in the two other databases. Any ideas in how to do this would be greatly appreciated!

Thanks

Smeshy

Link to comment
Share on other sites

You could put a global field on your layout in which you enter the new value. Then run a script that sets that value into the related tables, and as the last step sets it into the parent table. I.e. change the foreign keys first, then change the primary key. Does that make sense?

Link to comment
Share on other sites

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