Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error message and I don't know why...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Error message and I don't know why...
Divers
Thread ID:
00183642
Message ID:
00183642
Vues:
48
Program Error -
The name dirtxt is already used for another object. Please choose a different name.

I want to know why I get this error.

Here is my code:
* I am doing a DIR TO command and making the result into a .DBF file.
* Thus, taking a list of files in a directory and putting them in a table.
CD \MYDIR\MYFILES
DIR TO \MYDIR\MYFILES\DIR.TXT

IF FILE('\MYDIR\MYFILES\DIRTXT.DBF')
REMOVE TABLE dirtxt DELETE
ENDIF

CREATE TABLE dirtxt (textline c(80)) && THIS IS WHERE I GET THE ERROR!
...
...
...
* Then I take the table and select it and read it and process the filenames in the DIRTXT table that I create above.

I don't use the name for another object as far as I can tell. Any ideas? THANKS!
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform