D database Registered User. Local time Yesterday, 17:59 Joined Jun 3, 2004 Messages 80 Jun 3, 2004 #1 How do I establish a DAO connection to the Database?
F fzamora Software Engineer Local time Yesterday, 19:59 Joined May 28, 2004 Messages 6 Jun 3, 2004 #2 database said: How do I establish a DAO connection to the Database? Click to expand... What are you trying to do? Are you trying to code this from within your database. If so dim db as DAO.Database set db = CurrentDb
database said: How do I establish a DAO connection to the Database? Click to expand... What are you trying to do? Are you trying to code this from within your database. If so dim db as DAO.Database set db = CurrentDb
D database Registered User. Local time Yesterday, 17:59 Joined Jun 3, 2004 Messages 80 Jun 4, 2004 #3 I have tried doing that but it gives an error saying that User-defined type not defined... why is that so? fzamora said: What are you trying to do? Are you trying to code this from within your database. If so dim db as DAO.Database set db = CurrentDb Click to expand...
I have tried doing that but it gives an error saying that User-defined type not defined... why is that so? fzamora said: What are you trying to do? Are you trying to code this from within your database. If so dim db as DAO.Database set db = CurrentDb Click to expand...
P pono1 Registered User. Local time Yesterday, 17:59 Joined Jun 23, 2002 Messages 1,186 Jun 5, 2004 #4 database said: I have tried doing that but it gives an error saying that User-defined type not defined... Click to expand... Open your VBA window and from the pulldown menu select Tools- References. Scroll down Microsoft DAO 3.x Object Library and check the box next to it. See the FAQ on this site for a detailed explanation. Regards, Tim
database said: I have tried doing that but it gives an error saying that User-defined type not defined... Click to expand... Open your VBA window and from the pulldown menu select Tools- References. Scroll down Microsoft DAO 3.x Object Library and check the box next to it. See the FAQ on this site for a detailed explanation. Regards, Tim
D database Registered User. Local time Yesterday, 17:59 Joined Jun 3, 2004 Messages 80 Jun 7, 2004 #5 Well, It is currently set to Microsoft DAO 2.1 Library... does it make a difference? pono1 said: Open your VBA window and from the pulldown menu select Tools- References. Scroll down Microsoft DAO 3.x Object Library and check the box next to it. See the FAQ on this site for a detailed explanation. Regards, Tim Click to expand...
Well, It is currently set to Microsoft DAO 2.1 Library... does it make a difference? pono1 said: Open your VBA window and from the pulldown menu select Tools- References. Scroll down Microsoft DAO 3.x Object Library and check the box next to it. See the FAQ on this site for a detailed explanation. Regards, Tim Click to expand...
dcx693 Registered User. Local time Yesterday, 20:59 Joined Apr 30, 2003 Messages 3,265 Jun 7, 2004 #6 That could be it. What version of Access are you running?
Kodo "The Shoe" Local time Yesterday, 20:59 Joined Jan 20, 2004 Messages 707 Jun 7, 2004 #7 are you sure it's DAO 2.1 and not ADO 2.1?
dcx693 Registered User. Local time Yesterday, 20:59 Joined Apr 30, 2003 Messages 3,265 Jun 7, 2004 #8 Kodo said: are you sure it's DAO 2.1 and not ADO 2.1? Click to expand... LOL! That's more likely the case here!
Kodo said: are you sure it's DAO 2.1 and not ADO 2.1? Click to expand... LOL! That's more likely the case here!
Kodo "The Shoe" Local time Yesterday, 20:59 Joined Jan 20, 2004 Messages 707 Jun 7, 2004 #9 you know MS and their rediculous obession with acronyms. Especially ones with the same letters in different order. oh wait.. I said MS..
you know MS and their rediculous obession with acronyms. Especially ones with the same letters in different order. oh wait.. I said MS..
D database Registered User. Local time Yesterday, 17:59 Joined Jun 3, 2004 Messages 80 Jun 7, 2004 #10 Hey thanks all of you guys... I WAS confusing between DAO and ADO...