hello friends.
I need some code.
I work with VB6 (ADO) and MS Access-2000 .
I have created a dsn (XYZ) for my database using ms access driver.
My database changes every financial year.
(eg. current database in dsn (XYZ) is c:\data\2002.mdb.
next year it will be c:\data\2003.mdb and so on.)
So if i work in year 2002 i want to create a dsn for year 2003 and set my current dsn (XYZ) path to c:\data\2003.mdb
So whenever i want i can shift to any of the year and work on that database.
It will be good if i get a code for ADO rather then DAO.
Thanks in advance.
I need some code.
I work with VB6 (ADO) and MS Access-2000 .
I have created a dsn (XYZ) for my database using ms access driver.
My database changes every financial year.
(eg. current database in dsn (XYZ) is c:\data\2002.mdb.
next year it will be c:\data\2003.mdb and so on.)
So if i work in year 2002 i want to create a dsn for year 2003 and set my current dsn (XYZ) path to c:\data\2003.mdb
So whenever i want i can shift to any of the year and work on that database.
It will be good if i get a code for ADO rather then DAO.
Thanks in advance.