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

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

Recommended Posts

Posted (edited)

I'm dealing with two different databases here for good reason, so please no advice of "just combine them into the same database". The databases are both on the same server, and are linked perfectly fine for reading data from one to the other, and referencing tables in each other. But now I've got a problem.

I've got Database AAA, currently at record X where a script will be run. I want this script to create a new record in database BBB, and copy certain data from record X.

What's the best way of doing this?

Edited by Guest
Posted

Perform Script(CreateNew; in BBB) Parameter(record X key)

CreateNew (in BBB) consists of -

New Record

Set Keyfield;Get(scriptparameter)

then

... use the backwards relationship to auto-enter the data

OR

go back to the script in AAA and use a series of

Set Field(BBB::fieldn; AAA::fieldn) statements.

Posted

You do understand that you don't need to have ANY scripts in file BBB to do this, right? You can have a table occurrence in AAA from BBB and you just go to the layout in AAA that is based on this occurrence and create a new record.

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