Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from a table
Message
De
08/06/2001 13:13:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Appending from a table
Divers
Thread ID:
00517066
Message ID:
00517066
Vues:
55
Hello all,
I apoligize if this has been asked before; I'm running in to a problem when appending to a table from a cursor.

I select from one table in to a cursor in the following manner:

SELECT blah AS blh,;
BlahCid as cid, ; && Etc etc...
BlahGubbins as Gubbins FROM ThisDb!thisTable into cursor temp

I then select a table,zap it and append to it from the cursor

SELECT SomeOtherTable
ZAP
APPEND FROM DBF("temp")

This syntax works fine if I execute the code in selected portions but does not if I run it as one whole block... I've tried using temporary tables instead of a cursor to no avail. When running the complete block of code the cursor or temp table fails to get generated and then causes an error when I try and append from it.

Any ideas or thoughts on how to get this to work?
Thanks Andre
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform