sicSRT8 Posted April 2, 2009 Posted April 2, 2009 How would I go about setting up a script to auto delete records with a a blank value?
mr_vodka Posted April 2, 2009 Posted April 2, 2009 (edited) I guess you can do this on layout load, but you can find the records that are empty. Something like... Be careful with the error trapping. Enter Find Mode [] Set Field [ YourField; "=" ] Set Error Capture [On] Perform Find [] If [ Get (LastError) <> 401 ] Delete All Records End If Edited April 3, 2009 by Guest fixed error trap
LaRetta Posted April 3, 2009 Posted April 3, 2009 If [ Get (LastError) = 401 ] Hi John, I believe you mean otherwise - only delete if any records found? :wink2:
mr_vodka Posted April 3, 2009 Posted April 3, 2009 Hi LaRetta. Yes that is definitely what I meant. Thanks for the quick and and catch.
Recommended Posts
This topic is 5988 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