[AccessD] DAO and ADO problem =>urgent! <SOLVED!>

Sad Der accessd666 at yahoo.com
Wed Aug 13 05:36:06 CDT 2003


AAHRG, did some testing and DAO 3.0 instead of 3.6 was
referenced! Now it works again.

Regards,

Sander
--- Stuart McLachlan <stuart at lexacorp.com.pg> wrote:
> On 12 Aug 2003 at 23:13, Sad Der wrote:
> 
> > Hi group,
> > 
> > i've got a big problem. I've created a certain
> > 'general access solution' that I've implemented in
> a
> > lot of applications, works like a charm.
> > 
> > ....until I came to this DAO app! The solution I
> > created is all ADO.
> > 
> > When I reference ADO, so I've got DAO and below it
> in
> > the reference field I've got ADO, the app doesn't
> run
> > anymore. However it DOES compile?! When i run the
> app
> > It doesn't get lines like:
> > Set db = CurrentDb()
> > 
> > PLEASE TELL ME THAT I CAN USE DAO AND ADO OR I'M
> IN
> > BIG TROUBLE!
> > 
> If you have both ADO and  DAO referenced, you have
> to explicitly DIM 
> it as the correct type or it is likely to use the
> wrong reference.
> 
> Try Dim db  as DAO.Database
> 
> 
> 
> 
> 
> 
> 
>  
> -- 
> Lexacorp Ltd
> http://www.lexacorp.com.pg
> Information Technology Consultancy, Software
> Development,System 
> Support.
> 
> 
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


More information about the AccessD mailing list