fmow Posted October 28, 2013 Posted October 28, 2013 A pretty rudimentary script, where I use a placeholder via a global field, to grad some values and pks and paste them in the appropriate tables. No matter what I choose at the end while I am on a layout trying to grab the pk value from the new record I created, go to field then select all then copy, or have one field = to another, or straight copy with select all included, I get an error 102, and the pk value is never copied. Is there something apparently wrong in what I am doing? Perhaps I might need to post the full script. //EDIT: solved, I was missing a record commit apparently.
eos Posted October 28, 2013 Posted October 28, 2013 Is there something apparently wrong in what I am doing? You are using copy & paste; instead use Set Variable, Set Field etc. This not only leaves your (or your users') clipboard contents untouched, but is also much more robust since the involved fields don't have to be on the layout. 1
fmow Posted October 28, 2013 Author Posted October 28, 2013 Many thanks for the good practise advice. I will follow it to a t.
Recommended Posts
This topic is 4044 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 accountSign in
Already have an account? Sign in here.
Sign In Now