Dr.L Posted June 17, 2013 Posted June 17, 2013 How can I invoke a script within a script after a found set is empty...? Much thanks all! L~
LaRetta Posted June 17, 2013 Posted June 17, 2013 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.
Dr.L Posted June 17, 2013 Author Posted June 17, 2013 Seems simple, will enter this later and let you know! Much thanks... L~
Recommended Posts
This topic is 4176 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now