oilman Posted April 9, 2003 Posted April 9, 2003 Hi All I have created a tab interface (seven layouts) to complete a two page form. The first layout is a menu and instruction page. I tried to add a find button to the fist layout with no success. I wrote a scrpit and attached it to the button. When you enter a serial number and then push the button, the message "enter a valid criteria" appears. The script example: Go to layout tab2 Enter find mode insert calculated results[select,gfind,Serialno) preform find The serial number is on the second layout gfind is formatted as a global field The message appears on the first layout. The goto layout tab2 does not happen until the message appears and you click one of the button in the message. What is wrong Thanks Lionel
Newbies CharlieD Posted April 9, 2003 Newbies Posted April 9, 2003 Do you possibly have the fields reversed? I believe the format for the script step is "Insert Calculated Results([select], targetField, dataValue). Based on the field names above it looks like you are trying to paste a serial number value into a global find field instead of the global find field into the serial number field. CharlieD
oilman Posted April 9, 2003 Author Posted April 9, 2003 Thanks CharlieD You are right- tried it out and it works
Recommended Posts
This topic is 7898 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