Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND FROM [SQL Cursor]
Message
De
23/12/2008 18:10:08
 
 
À
23/12/2008 16:52:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01369081
Message ID:
01369533
Vues:
43
Sorry, I overlooked that. But the line marked Step 8, is that run? If so, this line causes the error. You Copy to file CuDedEmp, which creates a real table, but you never Use CuDedEmp. In other words, no table is in use when you Append from DBF()....!

1. Copy CuDed1Emp to CuDedEmp && Creates a real table, effectively closing the cursor with the same name!
2. SELECT CuDedEmp && fails because CuDedEmp is not open!
3. APPEND FROM (DBF("CuDed1Emp") && Fails since no table is open

If "Step 8" never is run, I once again ask you to show the code, exactly as it is when it fails. The code you have shown always has some offending lines commented out, how can I know exactly which lines are commented out? I want the failing codes without any code commented out.

Hi Tory,
I'm not sure what you mean by "the line marked Step 8". Step 8 consists of a few lines.
The code that fails is commented out. Specifically, "APPEND FROM" fails. The first line (SELECT CuDedEmp) executes successfully.

Thanks, Chaim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform