Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Errors with Index tags
Hi,
My program is toremening users with errors like:
Index tag is not found
Structural .cdx file is missing
Variable 'MYTAG' is not found
This application makes a copy of the tables from a central location to the users folder, when he logs on. Each user is working on his own copy of the tables.
This is how the files are copied:
<<
Copy file (centralfiles) to (localfiles)
For I = 1 to NoOfTables
Use TheTable
Copy structure to (localfile) with cdx
endfor
* to ensure that the index is correct
For I = 1 to NoOfTables
select LocalTable
Reindex
endfor
>>
I would like to trap these errors in a error handler and work around it.
Please verify this:
"Variable 'MYTAG' is not found" - Does this always refer to index tags? This happens when the .cdx file is missing
"Index tag is not found" - indicates that there is an index file, but not the specified tag
What is the difference between Structural .cdx file is missing & Variable 'MYTAG' is not found
In all thses cases, shall I just recreate all the index tage for the table in question?
Thank you
Ria
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