sweeneytime
New member
- Local time
- Today, 19:33
- Joined
- Oct 9, 2012
- Messages
- 9
Hi Guys,
First time post, new to access, I do VBA for excel. I am looking for some help please, the logic seems easy, but I may even have the wrong approach with my excel eyes on it. My access VBA books are in the post
I have a table of employees, I want to keep historic data along with live. Take John's salary, for every increase he will get a new record. I then want the old record to update the "Status" Field to "Inactive", so I can query by active/inactive.
My 'grand' plan - You highlight John's active record on a form, press a vba button,
-It changes the "Status" field on the current record to "Inactive"
-Make a copy of the original record with "Status" as "Active"
Then you can update John's salary and save.
Is this the correct way to approach the task? Is the code simple enough? All help appreciated.
Thanks,
Sweeneytime
First time post, new to access, I do VBA for excel. I am looking for some help please, the logic seems easy, but I may even have the wrong approach with my excel eyes on it. My access VBA books are in the post
I have a table of employees, I want to keep historic data along with live. Take John's salary, for every increase he will get a new record. I then want the old record to update the "Status" Field to "Inactive", so I can query by active/inactive.
My 'grand' plan - You highlight John's active record on a form, press a vba button,
-It changes the "Status" field on the current record to "Inactive"
-Make a copy of the original record with "Status" as "Active"
Then you can update John's salary and save.
Is this the correct way to approach the task? Is the code simple enough? All help appreciated.
Thanks,
Sweeneytime