Hey there folks--
I'm trying to make a switch to Access (2002) from FoxPro and am having a LOT of trouble figuring out how to work with tables directly through VBA. Specfically, when a new record is created, I need to search through the table, find the largest value in a particular field, increment it and set the new record's field to that value (not an AutoNumber) -- example: the largest value would be Q030401A.. the next value would be Q030401B).
Can someone give me a brief (or detailed) run-down of how to work with tables directly thru VBA? I've searched for tutorials, but most talk about a var type of Database, which is undefined in Access 2002... I'm confused. Help?
Thanks
-- michael~
I'm trying to make a switch to Access (2002) from FoxPro and am having a LOT of trouble figuring out how to work with tables directly through VBA. Specfically, when a new record is created, I need to search through the table, find the largest value in a particular field, increment it and set the new record's field to that value (not an AutoNumber) -- example: the largest value would be Q030401A.. the next value would be Q030401B).
Can someone give me a brief (or detailed) run-down of how to work with tables directly thru VBA? I've searched for tutorials, but most talk about a var type of Database, which is undefined in Access 2002... I'm confused. Help?
Thanks
-- michael~