Thank you very much, I don't do Access and this helps alot.
>
> Kent Belan wrote:
> > Hello,
> > I need to read an Access MDB data file from VFP9,
> > but when I try to following command:
> >
> > oAccess = createobject("access.application")
> >
> > I get an error "Class definition not found"
> >
> > How can I read the MDB if I don't have access loaded
> > on my computer ?
> >
> > Thanks,
> > Kent
> >
>
> Hi Kent!
>
> Someone else here gave me this code like this to help me access the
> tables in a MDB:
>
> LOCAL lcConnectString as String, iHandle as Integer
> lcConnectString = "Driver={Microsoft Access Driver (*.mdb)};" ;
> + "DefaultDir=C:\downloads\fabmate\carfaro\timeclock\data;" ;
> + "DBQ=arx_active.mdb;Uid=Admin;Pwd=;"
> iHandle = SQLSTRINGCONNECT(lcConnectString)
> WAIT wind SQLEXEC(iHandle,"select Firstname,MI,Lastname from Employees")
> BROWSE
>
> --
> Michael J. Babcock, MCP
> MB Software Solutions, LLC
> http://mbsoftwaresolutions.com
> http://fabmate.com
> "Work smarter, not harder, with MBSS custom software solutions!"
>
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.