I have had a couple of people tell me that I cannot use DAO with Access 2000, and that I must use ADO. No one can tell me why. All my training has been in DAO.
Bigfoot,
Are you sure that the service pack is specifically for VB and not the NT service pack 5? Personally, I have not gone beyond service pack 3 for Visual Studio, but I am running service pack 5 for NT. - Jeff Marler
You're right . . . I knew the SP4 was out (the company I worked for did not want to go to it), but I did not know about SP5. I read through the list on enhancements/changes and the only real data access automatic upgrades are for ADO (ADO is automatically upgraded to version 2.5)
You may want to be aware of this though (I copied/pasted this from their site)
Service Pack 5 does not automatically update Microsoft Data Access Components (MDAC) to version 2.6. If you install MDAC 2.6 from the CD, you should also update MDAC_TYP.EXE in the VB98\Wizards\PDWizard\Redist directory to ensure that the correct version will be distributed.
I Switched mine over from an Access 97 database to a Access 2000, just had to change the Reference to DAO36 object
Only problem I've had is I've had a computer that disconnects during write operations and corupts the database and I use to be able to repair it with Access 97, now with Access 2000 the password gets damaged and Ican not get into it to repair it. I'm going to re-write it to ADO this summer.
I upgraded one of the software developed in VB (4.0) from DAO to RDO the problem I am facing is after extracting more that 20 records I am getting max no open cursor exceded I increased OPEN_CURSOR parameter in back end , I am also closing all my result set after use .
Hi
May be iam in wrong side of the forum but its something related to it.
Inventory Project using DAO & accesss running well, Now migratingto SQl server .
It it possbile to use same DAO to connect to sql server
Or i have to create ADO.
If its ADO how to deal with workspaces that are usedin DAO.
The easiest and best way: Use a front end MDB with linked tables to the server tables. This way you will not have to change a lot of code and can leave most the same as before.
Recommended: No! [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
DAO works great with Access 2000
here is how to use it.
You must reference Microsoft DAO 3.6 Object Library
Hint: From the menu bar click Project
from the drop box click References
then click iin The DAO object
Place in a module -----------------------
Public Const c_DBPassword As String = "xxxxx"
Public Const c_DAOconnector As String = "MS Access;PWD=" & c_DBPassword
Global the_query_def As dao.QueryDef
Global the_db As dao.Database
Global the_rs As dao.Recordset
---------------------------------------------------
If you can't find a late enough version of the Access Driver (I use 4.0 and it works fine with access 2000) you might be able to trick it by using the OLE DB driver for ODBC drivers. I couldn't test this because it won't let me use any but the latest, and I don't want to unregister it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.