Newbies MrCoffee Posted December 10, 2007 Newbies Posted December 10, 2007 I need to create script that will open a Custom windows and ask for a number, that number need to be check in all the records first, if it do not exist it need to create a new reccord with that value that was entered in that custom windows. I am able to do a find in all the records if it don't exist the script creates a new record but the value that I have entered in the custom windows will not enter in the field Anybody have a idea how I could get the value from that windows into the record field ?
Newbies MrCoffee Posted December 10, 2007 Author Newbies Posted December 10, 2007 Found it a simple COPY and PASTE did the job :
Ocean West Posted December 10, 2007 Posted December 10, 2007 I would recommend setting values into a VARIABLE then using SET FIELD to push the data from the variable into the field. It isn't recommended to use COPY and PASTE steps for scripted processes, like this.
_henry_ Posted December 10, 2007 Posted December 10, 2007 I agreed with Ocean. Firstly, before I learned about "Set Variable" and "Set Field" idea, I used to use COPY and PASTE. However, by using copy and paste, you need to switch around the layout. I thought, Set Variable and Set Field would be a better solution for "assigning" a value to another field...
Newbies MrCoffee Posted December 11, 2007 Author Newbies Posted December 11, 2007 I add problem at the beginning, kept getting a "0" value but it works great now with "Set Variable" and "Set Field" A big Thank You guys :
Recommended Posts
This topic is 6193 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