Geordie2008
Registered User.
- Local time
- Today, 23:17
- Joined
- Mar 25, 2008
- Messages
- 177
Afternoon All,
My user occassionally inputs incorrect data and wishes to delete it from the main table.
They sometimes input the same new employee twice with slightly diff spellings etc. When they notice this they want to be able to open the form with the incorrect data in it and delete it from the form (so they can check they are deleting the correct duplicate first).
I would like to use a button at the bottom of the form that is a delete button. I would like on pressing the button, the database to go away and check both the "current" and the "audit" tables for the said unique "ID" (an autonumber) and then insert a copy of this data into a deletions table and then remove all traces from the "Audit" and "Current" tables.
I cant find an example of a db that does this within the forum's....
I know how to do a StrSQL "INSERT INTO" for the data that is currently held in my form.... can I use this for running a query first and then inserting the query results into the "deletions" table?
Arghh..... dont know where to start with this.....
Thanks,
Mandy
My user occassionally inputs incorrect data and wishes to delete it from the main table.
They sometimes input the same new employee twice with slightly diff spellings etc. When they notice this they want to be able to open the form with the incorrect data in it and delete it from the form (so they can check they are deleting the correct duplicate first).
I would like to use a button at the bottom of the form that is a delete button. I would like on pressing the button, the database to go away and check both the "current" and the "audit" tables for the said unique "ID" (an autonumber) and then insert a copy of this data into a deletions table and then remove all traces from the "Audit" and "Current" tables.
I cant find an example of a db that does this within the forum's....
I know how to do a StrSQL "INSERT INTO" for the data that is currently held in my form.... can I use this for running a query first and then inserting the query results into the "deletions" table?
Arghh..... dont know where to start with this.....
Thanks,
Mandy