Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to insert SQL statment to this ?
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00402113
Message ID:
00405185
Views:
20
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! :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform