Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEdb Question
Message
De
05/06/2002 15:46:56
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
OLEdb Question
Divers
Thread ID:
00665118
Message ID:
00665118
Vues:
49
I am trying to access data in an Access Database using OLEDB. I am not sure I understand how this works. Once I establish a connection can I open multiple views using that connection, or do I have to establish a connection for each view that I open. I am using the following form:

lnConnectionStr="Driver={Microsoft Access Driver (*.mdb)} Dbq=path and mdb name Uid=Admin Pwd="

If that succeeds can I then open multiple tables using this format:
LnTable1=SQLSTRINGCONNECT(lnConnectionStr)
LnTable2=SQLSTRINGCONNECT(lnConnectionStr)
r=SQLEXEC(lnTable1,"some sql stmt","tablename")
s=SQLEXEC(lnTable2,"some sql stmt","tablename")

Thanks for any and all help!
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform