Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy table
Message
De
22/06/2001 11:56:40
 
 
À
22/06/2001 09:23:42
GW Gross
{Banned by Information Security Policy}
Lake Mary, Floride, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Divers
Thread ID:
00521745
Message ID:
00522544
Vues:
10
>>>>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,

Doesn't the copyobject function work for you? (See my reply to Roi)

Although it wouldn't work from A97 to A2K.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform