Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to insert SQL statment to this ?
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00402113
Message ID:
00405185
Vues:
21
with your connection object use

strSQl = "SELECT * FROM unit, unittype, estate WHERE untestateidno = estateid AND unttypeidno = unittypeid"

Set rstUnit = connObject.execute(strSQL)

for example I use a dataenvironment called DataEnv with a connection called dbTSS so I would use

dim rstMine as adodb.recordset
set rstMine = dataenv.dbTss.execute(strSQL)

And it is that easy! :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform