April 2, 200916 yr How would I go about setting up a script to auto delete records with a a blank value?
April 2, 200916 yr 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, 200916 yr by Guest fixed error trap
April 3, 200916 yr If [ Get (LastError) = 401 ] Hi John, I believe you mean otherwise - only delete if any records found? :wink2:
April 3, 200916 yr Hi LaRetta. Yes that is definitely what I meant. Thanks for the quick and and catch.
Create an account or sign in to comment