December 5, 200619 yr 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 December 5, 200619 yr by Guest
December 5, 200619 yr 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.
December 6, 200619 yr 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.
Create an account or sign in to comment