Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4044 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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. :)

Posted

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.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.