June 17, 201312 yr How can I invoke a script within a script after a found set is empty...? Much thanks all! L~
June 17, 201312 yr Put your regular script here and then your find process and then ... ... error trap so you can handle it yourself if no records are found Set Error Capture [ On ] If [ not Get ( FoundCount ) ] Show Custom Dialog [ "No records found" ] # put whatever steps to take if no records are found here such as the following Show All Records ... returns the record set from 0 records to all before you leave Go To Layout [ original layout ] Exit Script End If ... continue your regular script here knowing that records have been found so you can continue. Or, within the If[], just add a sub-script of your find script.
Create an account or sign in to comment