G
Guest
I am working in Access 2003. I keep records for several kiosks which are
seasonal ( Nov & Dec ) and I have linked tables, some common tables like
Location and Employees and then I make a new Db each year for that years
specific data. So far, each year I manually create a new Db and all the 5
tables which keep track of that years business. I would like to be able to
click on a cmd button and have it creat the new Db programmatically each
year. I have gotten the basics down but I don't see a way to create an
auto-number field using tdf.createfield. I have the list of 'types' you can
define the field with like dbText or dbInteger but no auto-number.?. Can
someone help me out? I have a pretty good understanding of SQL if I need to
use it here but I wanted to be consistent since I am using newcurrentdatabase
and createtable already. Can someone tell me if it would be easier to use
SQL for the whole creation process??
Thanx
seasonal ( Nov & Dec ) and I have linked tables, some common tables like
Location and Employees and then I make a new Db each year for that years
specific data. So far, each year I manually create a new Db and all the 5
tables which keep track of that years business. I would like to be able to
click on a cmd button and have it creat the new Db programmatically each
year. I have gotten the basics down but I don't see a way to create an
auto-number field using tdf.createfield. I have the list of 'types' you can
define the field with like dbText or dbInteger but no auto-number.?. Can
someone help me out? I have a pretty good understanding of SQL if I need to
use it here but I wanted to be consistent since I am using newcurrentdatabase
and createtable already. Can someone tell me if it would be easier to use
SQL for the whole creation process??
Thanx