Inmagic Forums
Inmagic Forums
Scripting
Copying fields from Primary to Secondary Textbase|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Hi all,
I have a script button that opens the Secondary textbase associated with a linked field using the Command.editSecondaryRecord() function. However, I would like to copy a few other fields into the Secondary record I am opening because both textbases have some common fields such as Title. I want to copy Title (and others) from the Primary to the Secondary. Takin' care of business. |
|||
|
There's no *direct* communication possible from Primary to Secondary textbase when using the Command.editSecondaryRecord() feature.
However, you could open the relevant secondary record in a recordset, update it with your chosen field values, then call editSecondaryRecord(). Or, you could write chosen field values to a Store object, call editSecondaryRecord(), then pick up the Store values from the secondary record form. Peter Tyrrell, MLIS Senior Consultant Andornot Consulting Inc. http://www.andornot.com/about/developerblog |
||||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Inmagic Forums
Inmagic Forums
Scripting
Copying fields from Primary to Secondary Textbase
