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

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

Recommended Posts

Posted

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}:P:Search_Text]

Preform Find []

End If

End If

  • 3 weeks later...
Posted

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)

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