Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have a db which has multiple tables which are all linked via a unique number

When I create a new record in the contact layout and then want to go a second layout which contains data from another table I cant get into that layout useing the script GTRR as there is no related record in this table. How do I set it so when I create a new record in one table it creates a record in all the tables?

Kirsty

Posted

Are you saying that all you tables are related with a one to one relationship? Most relationships are one to many and new records on the many side are created as they are needed. Why do you want to go to the related record when it has no data?

If you could post a sample of you database it would help us understand what you are trying to do.

Posted

You could script that, e.g. using EventScript, so that when you create a new record the other records are created. Usually, though, we use portals to create new records.

Posted

If you have 'Allow creation of related records' enabled for a particular child table, you can use Set Field [relationship::datafield; datafield], where datafield is NOT the key field. This will force a related record to be created and the key to be established. Then you can make your child fields lookups to the parent table to have them auto-filled or simply put the related fields on the child layout if you want them to update automatically when fields in the parent record are modified.

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