Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC
Message
De
27/06/2000 20:14:24
 
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Re: ODBC
Divers
Thread ID:
00384852
Message ID:
00385478
Vues:
34
Yes I am using ADO and the codes as below:

Private Sub OpenConnection1()
If Not (mCN1 Is Nothing) Then
mCN1.Close
Set mCN1 = Nothing
End If
' Create a new connection
Set mCN1 = New Connection
With mCN1
.ConnectionString = "DSN=Visual FoxPro Tables;UID=;PWD=;SourceDB=" & mAXIOMADir & ";SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes;"
.CursorLocation = adUseServer
.Open
End With
End Sub
please help me.. thanks


Regards
Winan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform