Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a Temp Table In SQL Server
Message
From
14/08/2001 13:13:43
 
 
To
14/08/2001 12:59:34
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00543280
Message ID:
00543613
Views:
25
>I know, I hate all those paraenthesis. When I'm doing testing though I usually just create my queries in Microsoft Access and then paste the SQL into my VB code and then rewrit it to more acceptable once know it is wrking properly. Saves a bit of time is all when your trying to stumble through something.

Did you try using the connection object to execute the SQL Statement? It would return a forward-only, read-only RS anyway. It would go something like this:
Set rstTest = cnCreateReportTable.Execute "SELECT * FROM #tblNewNames"
Not that it should make any difference, just something to try.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform