Hello,
I have a table that has some records. There may be times that it will be needed to delete a record from the table. I would like to keep a history of this record and date it was deleted. There is one Piece of information I do not want saved in the 2nd table yet still need it deleted from the main table.
Example:
tblMain
ID
FName
LName
User
NoteAboutUser
PrivateInfo
tblMainSuspended
ID - (note: in this table this is only a number field and NOT an AutoNumber and also not really required to be kept).
FName
LName
User
NoteAboutUser
DateSuspended
SuspendedNote
I have a form and it has a button to be used to complete this task on click. When this button is clicked. I would like a popup asking to confirm the action (Suspend or Cancel) options.
"Cancel will return to the form."
"Suspend will in turn double check if we want to proceed "Yes or No" option.
"YES" then ask for a reason "SuspendedNote" (REQUIRED). Then it will copy the current record from tblMain to tblMainSuspended and delete the field "PrivateInfo" and add the reason to the field "SuspendedNote". Upon completion refresh and return to the form.
"NO" return to form.
Can someone please lead me in the right direction of code to use? Thanks
---
Sincerely,
Clifford86