01. Undo System 1 (18:52)
Creating an undo system in Microsoft Access
Utilizing a change log table
Adding a change timestamp
Working with primary keys and auto numbers
Implementing before update events
Writing SQL insert into statements
Using DMax and DLookup functions
Designing an undo button in Access forms
Opening record sets for reading and writing
Handling multi-user scenarios with change logs
02. Undo System 2 (9:20)
Finishing undoing an edit
Moving focus to modified record
Editing records in order detail table
Using record set for data restoration
Handling order ID in restoration
Updating and closing record sets
Requerying form to update changes
Using DoCmd.FindRecord command
Looping through records to find ID
Storing order detail ID in a variable
Navigating records with DoCmd commands
Exiting loop if record isn't found
03. Undo System 3 (16:46)
Track type of change: edit, addition, or deletion
Build custom delete button
Handle undoing a record deletion
Insert change type ID to change log
Suppress built-in delete events in Access
Turn off allowed deletions property
Implement delete confirmation message box
Use DoCmd.RunCommand for deletion
Save deleted record to undo table
Insert fields into table using SQL
Determine action type for undo operation
Handle additions and deletions in undo button
Set auto number for adding record back
Edit or delete specific record logic
Finish adding rest of fields for undo
Close and requery record sets after undo
Address order ID constraint when undoing deletion
04. Undo System 4 (15:16)
Auto number reset issue
Fixing auto number by adding and deleting record
Handling duplicate values in primary key
Restoring deleted records
Using CurrentDB.Execute with error handling
After insert event for record tracking
Updating change log after record insertion
Order detail change log issue
Required fields during record insertion
Using DoCmd.RunSQL for error visibility
05. Undo System 5 (14:15)
Hiding the undo button based on change log
Implementing On Current event for form
Using DLookup to find recent changes
Visibility toggle for undo button
Creating a function for recent change timestamp
Handling undo button caption text
Select Case to determine change type
Adjusting button size for captions
Explaining potential redo functionality
Discussing a pop-up change log feature