April 9, 200322 yr 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
April 9, 200322 yr Newbies 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
Create an account or sign in to comment