Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8398 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm trying to automate deleting records from appointment database. In my script I am using copy/paste to insert the contents of a serial number field from a related database into the related field in the main database during find mode.

I want to delete any records in my main database that have that same serial number. The find part works properly, but when I try to create a loop deleting all the found records, it deletes only one. Any advice would be much appreciated! This one has me tearing my hair out!

Loop

Enter Find Mode[]

Paste [select, "serial number"]

Perform Find []

Delete Record/Request [No dialoge]

Go to Record/Request/Page [Exit after last, Next]

End Loop

Posted

Hi Christian,

There is an easy answer. It is the ScriptMaker step called Delete All Records.

Test it out on a backup till you get comfortable! tongue.gif" border="0

Good luck!

Andrew

Posted

Thanks Andrew!

It works! I don't think I would have had the nerve to try that! Thanks a million! These things always turn out to be simple solutions.

Cheers,

Christian

This topic is 8398 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.