Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement