Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access
Message
De
15/09/2003 17:54:33
 
 
À
15/09/2003 16:59:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Access
Divers
Thread ID:
00829146
Message ID:
00829169
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform