Script problem with variable
FM 12 script picture attached.
I have a script that creates a (Referral) record. It works, a record is created with the fields, except that the variable $$vjobid does not get into the record: when I perform the script 3 times, I get 3 different values in FKJobID, none of which is in $$vjobid..
The real puzzler is that I inserted a Show Dialog and the message shows the correct value all 3 times in $$vjobid, and yet the next Set Field step inserts something different into FKJobID.
Any bright ideas?