Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RecordSource
Message
De
12/07/2000 21:28:17
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
RecordSource
Divers
Thread ID:
00391614
Message ID:
00391614
Vues:
43
Is there something wrong in my codes below?, it does not work.. please help .. and thanks


Private Sub Form_Load()
Dim mSetupDir as String

mSetupDir = App.Path & "\Setup.MDB"
'
adoDep.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & mSetupDir & ";Persist Security Info=False"
'
adoDep.RecordSource = "Select * from Department Where Department.Dept like 'A*' order by Department.Dept"

End Sub
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform