Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access
Message
From
15/09/2003 17:54:33
 
 
To
15/09/2003 16:59:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Access
Miscellaneous
Thread ID:
00829146
Message ID:
00829169
Views:
26
Hi Paul,
>
>Got a question about access. I am working at a place that has a few access apps they use and I'd like to convert one to VFP. Im sure someone has done this before and would like to get any ideas or possible problems I may encounter or how best to tackle converting access to Foxpro. Such as DB conversion and reports etc..
>
Here we go:
*-- build connection string
lcConnectionStr = "DRIVER={Microsoft Access Driver (*.mdb)};" +;
	"Dbq=C:\mydbcfolder\test_db1.mdb;" +;
	"Uid=Admin;" +;
	"Pwd=;"

*-- connect to Access database
lnAccess = SQLSTRINGCONNECT(lcConnectionStr)

*-- retrieve one table named myclients.. SQLRESULT will be the cursor with the result
?SQLEXEC(lnAccess, "select * from myclients")

return
HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform