For example:
*--------------------
store SQLSTRINGCONNECT(;
'DBQ=c:\foxwork\Branded Foxpro Projects.mdb;'+;
'DefaultDir=c:\;'+;
'Driver={Microsoft Access Driver (*.mdb)}');
TO gnConnHandle
IF gnConnHandle <= 0
= MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')
return
Endif
=SQLEXEC(gnConnHandle, "SELECT * from contacts;", "temp")
=sqldisc(0)
*---------------------------
>CAN ANYONE GIVE ME SOME POINTERS ON HOW I CAN PROGRAMATICALLY READ DATA FROM AN ACCESS DATABASE.
>
>REGARDS
>COLIN BURTON
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only