General information
Category:
Coding, syntax & commands
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only