Return to FileMaker.com
If function by Mode
I set up a search that only finds records based on a single check mark. Now I am trying to find a script to undo it... but *without* adding another button.
The easiest and most logical way that I can think of is an if function in one script. So is there a way to do:
"If ( in Browse mode )" then
"... my already made and functional search script... ".
"Else If ( In Find mode )" then
"Enter Browse mode"
If there is another way that I do not know of (sure there are lots), then by all means state it. Any help would be great.
I use get ( WindowMode ) for this purpose
0 = Browse mode
1 = Find Mode
2 = Preview mode
Retrieving data ...