Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to create table from SQL statement
Message
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00260379
Message ID:
00261424
Views:
25
Sorry, ignore this thread. It was my mistake. I did not include single quotes around the OtherDatabase in my SELECT INTO statement.

Thanks for yor help!

>INSERT INTO only operates on one record. My select statement can easily generate hundreds of records.
>
>>In the example of the last message, instead of :
>>>dbs.Execute "CREATE TABLE ThisTable " _
>>> & "(FirstName TEXT, LastName TEXT);"
>>
>>use:
>>
>>>dbs.Execute "INSERT INTO ..."
Previous
Reply
Map
View

Click here to load this message in the networking platform