I am working on an HR database for my work. I need to be able to "update" this database once it goes live but the powers that be don't want me to see the salaries. So my boss wants me to create a macro that allows HR to export the salary table and replaces the salary fields with bogus numbers. Then once I am done doing what ever I have to do he wants another macro that reimports that data.
I can export the data to an external database (using TransferDatabas e function) and change the data, my problem is reimporting the data. Every import function I have found that is built in creates a New table and doesn't update the original table. I figure I am going to have to write code to do a sql update but I am not quite sure how to do this.
External database I am exporting to: h:\salary-rate.mdb.
Table name in both databases: Salary-Rate
Fields in Salary-Rate:
EmployeeID
EffectiveDate
Salary
HourlyRate
GradeNum
PromotionNotes
Any help you could give me is MUCH appreciated!
I can export the data to an external database (using TransferDatabas e function) and change the data, my problem is reimporting the data. Every import function I have found that is built in creates a New table and doesn't update the original table. I figure I am going to have to write code to do a sql update but I am not quite sure how to do this.
External database I am exporting to: h:\salary-rate.mdb.
Table name in both databases: Salary-Rate
Fields in Salary-Rate:
EmployeeID
EffectiveDate
Salary
HourlyRate
GradeNum
PromotionNotes
Any help you could give me is MUCH appreciated!
Comment