I am working in access 2010 on a product information database. My main table has a "LastUsed" field in it. This field is updated the night before each time a product is used. Traditionally I've been updating each record one at a time, but this take a decent amount of time and I'd prefer to automate it if possible.
I've created a form with 40 unbound combo boxes. These cbo boxes can be populated with item numbers that represent the products we will be running the following day. I'd like to be able to populate some or all of these boxes with the item number for tomorrow's products and then push a button and have every record update the last used field to tomorrow's date.
Is VBA the correct way to go about this?
What would my code have to look like in order to accomplish this?
thank you
Bruce
I've created a form with 40 unbound combo boxes. These cbo boxes can be populated with item numbers that represent the products we will be running the following day. I'd like to be able to populate some or all of these boxes with the item number for tomorrow's products and then push a button and have every record update the last used field to tomorrow's date.
Is VBA the correct way to go about this?
What would my code have to look like in order to accomplish this?
thank you
Bruce