coping with a failed search in a script
I have an existing script which pastes a code number into another database and performs a find. No problem there.
However, the function of the script has now increased and I want it to perform something else if the find comes up with no results and offers the "cancel/continue/modify find' dialogue.
Basically I need the script to say 'if the result of the find is incomplete, go and search in the other database'.
Thanks to all in advance. (especially to PhilModJunk who has helped in the past. Do you ever sleep?)