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

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

Recommended Posts

Posted

I have 3 fields (Field A, Field B, Field C) and I want the user to be able to go into Find Mode, enter their search criteria - into a global field - then select from a choice of 3 checkboxes to determine which fields are searched (e.g. Look in Field A and in Field :. I then expect to create a script based on which checkboxes have been selected.

Do I have to use 3 different fields (e.g Option 1, Option 2, Option 3)? How can I present these as "checkboxes"?

Can anyone help?

Posted

I havent used FM5 is a very long time but I guess you can do something of a Pattern count if your search script as a condition to set the field as with the global value or not. Something like this:

If (PatternCount ( gCheckbox ; "Field A" )

Set Field ( Field A; gSearchField )

End If

If (PatternCount ( gCheckbox ; "Field B" )

Set Field ( Field B; gSearchField )

End If

If (PatternCount ( gCheckbox ; "Field C" )

Set Field ( Field C; gSearchField )

End If

This topic is 6875 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.