>>>>>
I wonder if some of you kind folk can point me in the direction of a
solution that does not include a DSN and help me
construct a elegant, working connection string.
<<<<<

This is one that has been passed around on this newsgroup before - that I
bookmarked...

/*==========

LOCAL lcConnectString as String, iHandle as Integer

lcConnectString = "Driver={Microsoft Access Driver (*.mdb)};" ;
    + "DefaultDir=c:\<yourfolder>\<yourappdatafolder>;" ;
    + "DBQ=<Yyourmdbname.mdb>;Uid=Admin;Pwd=;"

iHandle = SQLSTRINGCONNECT(lcConnectString)

WAIT wind SQLEXEC(iHandle,"select <field1>, <field2>, <field3> from
<mytableinmdb>")

BROWSE

/*==========

Regards,

John C. Gunvaldson
www.fox-net.com






_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** 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.

Reply via email to