Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy table
Message
From
22/06/2001 09:23:42
GW Gross
{Banned by Information Security Policy}
Lake Mary, Florida, United States
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Miscellaneous
Thread ID:
00521745
Message ID:
00522385
Views:
12
>>>Check the syntax of «Insert Into». You can do this using a single SQL query.
>>
>>Ok, here's a dumb question. Look it up where? MSDN only shows the T-SQL Insert, do I use that, or is there a specific help file for the JET OLE-DB provider?
>>
>>IAC, INSERT INTO requires the table to exist, correct?
>
>You can use SELECT INTO if the table does not exist.

Eric,

Doesn't this fail if one of the fields is an MS Access autonumber field? That is the experience I had, of course I could always have programmed it wrong.

Also, will this work if the source table is in an MSAccess 97 database and the target table is in an MSAccess 2000 database?

I found I had to do it the "old fashioned" way of reading each record in the source, writing it to the target, and then deleting it from the source when the there was not an error.

Any suggestions for improving this are greatly appreciated.

Thanks,
GW Gross

"You are blessed when you're content with just who you are - no more, no less." Matthew 5:5 (The Message)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform