Hello,
I have this form in my database.
I need to figure out how to write the code for a button at the bottom of the checkboxes so that when clicked...
1) the check boxes that are selected will update in the master table, delete out of the audit table, and remain the same in the replica table
2) the check boxes that are not selected will still have the current field data and will not make a change to the tblMaster but will revert tblMasterReplic a back to what it was prior to the change
Additional Background Info:
- I have a form to change view the records out of the tblMaster that is locked from editing. This is used by all the other non-Admin users.
- I have another form that can be used to submit a change request to one of the records (looks like the display form except it is not locked).
This information is then moved into tblMasterReplic a (does not show in the view form). It is also displayed in the audit table to show who made the change, what time it was made, & what it was changed from and changed too (new record is on top of the other in table).
- The audit form is what is displayed on the "Updated" column in the screenshot and the tblMaster is what is displayed in the "Current" column of the screenshot.
- The screenshot is only one tab from the form, I used the tab control because there are about 65 fields for each record.
I have really been struggling with this code for quite a while and would really appreciate any additional help. I am very new to access so my background with code is extremely limited. I am very thankful for any of the help I can get.
With Appreciation,
Rob
I have this form in my database.
I need to figure out how to write the code for a button at the bottom of the checkboxes so that when clicked...
1) the check boxes that are selected will update in the master table, delete out of the audit table, and remain the same in the replica table
2) the check boxes that are not selected will still have the current field data and will not make a change to the tblMaster but will revert tblMasterReplic a back to what it was prior to the change
Additional Background Info:
- I have a form to change view the records out of the tblMaster that is locked from editing. This is used by all the other non-Admin users.
- I have another form that can be used to submit a change request to one of the records (looks like the display form except it is not locked).
This information is then moved into tblMasterReplic a (does not show in the view form). It is also displayed in the audit table to show who made the change, what time it was made, & what it was changed from and changed too (new record is on top of the other in table).
- The audit form is what is displayed on the "Updated" column in the screenshot and the tblMaster is what is displayed in the "Current" column of the screenshot.
- The screenshot is only one tab from the form, I used the tab control because there are about 65 fields for each record.
I have really been struggling with this code for quite a while and would really appreciate any additional help. I am very new to access so my background with code is extremely limited. I am very thankful for any of the help I can get.
With Appreciation,
Rob
Comment