Anuviel Posted June 30, 2007 Author Posted June 30, 2007 Well, I got ahead, a little bit without using field1 & field2 method. I got it to search the first field, the one chosen when setting up the custom dialog and I got it to search the second field without specifying the field name. Now I gotta figure out how to loop that part when it goes to the next field. Here is the script: Set Error Capture [On] Enter Find Mode [] Show Custom Dialog ["Find:" ; Products:Products_Item_Code] Set Field [A-SYS::Search_Text ; Products:Products_Item_Code] ----- Global text field If [Get(LastMessageChoice)=1] Preform Find [] If [Get(LastError)>0] Enter Find Mode [] Go to Next Field Set Selection [] Set Field [${A-SYS}:Search_Text] Preform Find [] End If End If
Balder Posted July 17, 2007 Posted July 17, 2007 Another possibility : Create a calculated field in which all data of the other fields is stored Then just search in this new field... (I know, it will need some more storage but works OK)
Recommended Posts
This topic is 6339 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