General information
Category:
Coding, syntax & commands
Title:
Determining CDX expression FOR clause
I had an odd error that popped up but did not interfere with the program execution, "ALIAS something NOT FOUND." However, after clicking OK, the program would resume. I was unable to trap it.
I tracked it down to a FOR clause in the index expression that included the table alias. When the table was opened using a different alias and the index tag engaged, the warning would appear but not halt the progra or show the line where the problem occurred. It was a bit of a booger to track down.
Now ...
I want to build a program to scan many index files for occurrances of FOR clauses incorporating alias names ... I am able to programmatically read the CDX tag and key, using TAG() and KEY(), but how can I determine the FOR clause?
...Art
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