October 31, 201015 yr Newbies Hi forum, I have been working on a script which performs a find, however sometimes there aren't always records to find so an error message is displayed. (the one that says "modify find or cancel") is there a way to disable this error message
October 31, 201015 yr Yes, start your script with Set Error Capture On. This suppresses FM messages, but now you need to deal with the error. My typical Find script structure (which is on the forums somewhere) is: Enter Find Mode Perform Find If ( Get (Foundcount) = 0 ) Show Dialog "No Records Found" Show All End If Found the link http://fmforums.com/forum/showpost.php?post/334547/ Edited October 31, 201015 yr by Guest
October 31, 201015 yr Hi Barbara, I think they are performing a manual find? If so, I don't think you can do anything with that message. Lee
October 31, 201015 yr I have been working on a script which performs a find Barbara's given you good advice. Question is...what do you want to happen if no records are found?
Create an account or sign in to comment