Hi,
I have three Tables in the MS Access database as below:
Company_Data
Name|Age|Department|Salary
User_Data
Name|Age|Department|Updated On
Changes_Data
Name|Age|Department|Salary|Updated on
and i have a compare button on the VB form.
Is there any code that can compare the Company_Data with User_Data and copy all the records not found in User_Data to Changes_Data table.
When updating it should update the "updated on" Column to the current Date.
Same needs to be done in the opposite way. Compare User_Data with Company_Data and note the diff.
No Need to update Salary in this case.
Please help me with this.
Thanks.
I have three Tables in the MS Access database as below:
Company_Data
Name|Age|Department|Salary
User_Data
Name|Age|Department|Updated On
Changes_Data
Name|Age|Department|Salary|Updated on
and i have a compare button on the VB form.
Is there any code that can compare the Company_Data with User_Data and copy all the records not found in User_Data to Changes_Data table.
When updating it should update the "updated on" Column to the current Date.
Same needs to be done in the opposite way. Compare User_Data with Company_Data and note the diff.
No Need to update Salary in this case.
Please help me with this.
Thanks.