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

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

Recommended Posts

  • Newbies
Posted (edited)

I have created a sales database that I need to be able to delete records. But for privacy purposes the record cannot be deleted altogether, the auditor must see it at year end. So I was thinking to create a button that would actually just move the record out of the one db and into another for the auditor and call the new db Deleted Records. But I don't know how to do this.

Any help would be much appreciated. Thanks!

Edited by Guest
Posted

You could just have a script import the record into the other table prior to deleting it. You will have to create another table first.

You can easily create the duplicate table by using the import records command. In the dialog, set the target to "new table" which will create a new table with all the same fields as the imported table from the same file.

Once the table is created you can have your delete script isolate the records which are to be deleted, import those records into the other table, and then delete them from the original table.

Another thing you might want to look into is an audit tracking system.. One is from CNS, and the other is from nightwing. You should be able to find these by searching the forums. These systems will help you track any changes or deletions of records in an external audit table.

  • Newbies
Posted

Thank you for you reply it helped alot and I have it working as you said. There is still one probelm: I do a search and create a found set and then export them to the deleted file. But when I do another found set and try the same thing it writes over the existing data. what I would like it to do it to be additive. So I can keep building the deleted db as I buy new lists.

Beylah

Posted

you don't want to export to the deleted file, you want to call a script that imports into the file from the old file (with the add new records option)

That script will have to exist in the other file (if you want to use a separate file). You could also just create another table in the same file and do the same thing.

This topic is 6507 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.