Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO MyTable DATABASE MyDatabase Error
Message
De
27/06/2005 15:48:07
 
 
À
27/06/2005 15:37:58
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01026839
Message ID:
01026850
Vues:
15
>>>Trying to open a table and copy it into a new database, but I keep getting an error along the lines of "...already exists as part of a database..." on the COPY TO command. The new database is totally empty. What gives? I didn't put all the code in here, but the databases are in different locations as well.
>>>
>>>
>>>
>>>CREATE DATABASE MyNewDatabase
>>>
>>>USE MySourceTable SHARED IN 0 && From original database location
>>>
>>>SELECT SourceTable
>>>
>>>COPY TO MyNewTable DATABASE MyNewDatabase WITH CDX
>>>
>>>
>>
>>Ignore, I did not read the whole message.
>
>Oh, no! I need an answer and I was sooooo hopeful when you responded so quickly! <g>

Well, my first reaction was, why doesn't he COPY TO MyNewTable WITH CDX, followed by OPEN MyNewDatabaseuse and then ADD TABLE MyNewTable, since I was not aware that you could do it all in one command.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform