David,

Since the related record is in another _file_, you cannot use a variable to 
pass the value of the SerialNumber field; variables are local to the file in 
which they are defined.

Instead, pass the SerialNumber value as a Script Parameter to a record creation 
script in the other file.

Best wishes,
Jason L. DeLooze
Annapolis, MD  USA

"Rowing harder doesn't help if the boat is headed in the wrong direction" - 
Kenichi Ohmae


On 1/26/08 at 7:29 PM -0500, David wrote:
>To partially answer my own question I have part of script that is half baked.
>
>Set Variable [$serialNum; Value:MAIN:Serial Number]
>Go to Layout ["#2 chunks" (MAIN)]
>New Record/Request
>???
>
>At this point I need a command to copy my previously declared variable into 
>into the "Linkto" field of file, "chunks", the external portal db file.
>
>
>I designed this system to distribute the chance of any one piece of the 
>database corrupting. I'd like to keep what I have, but I switch to two tables 
>in one file, if the solution requires it.

Reply via email to