January 26, 200619 yr 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?
January 27, 200619 yr 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
Create an account or sign in to comment