Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Index tag is not found

Status
Not open for further replies.

MaryG

Programmer
Mar 26, 2001
26
AU
Hi,
I am trying to run a report that was originally created in FoxPro 2.6 and has been converted to 6.0. When I try to run this report either from a screen which calls the report or just run the report on its own, I get a "Index tag is not found" error. I have looked at all the files used in the data environment and have made sure their corresponding .cdx index files are there in the same directory and they are. Has anyone got any ideas on what else I can check?

Thanks in advance
Mary
 
The existance of the CDX file has nothing to do with your error message. The problem is the TAG you trying to use is not exist in this CDX file.
For instance lets say we have a Table1 with index on EXP1 tag TAG1 and index on EXP2 tag TAG2
Now
USE TABLE1 IN 0 SHARED ORDER TAG TAG1 // OK
USE TABLE1 IN 0 SHARED ORDER TAG TAG2 // OK
USE TABLE1 IN 0 SHARED ORDER TAG TAG3 // ERROR
Because the tag TAG3 is not defined.

Walid Magd
Engwam@Hotmail.com
 
Thanks Walid. I appreciate your time.

I have fixed the problem but I think it had more to do with something being corrupted maybe during the conversion? It is a report with no code behind it so the only place the indexes are used is in defining the relationships in the data environment which all looked okay to me. There is no other place I could use to check for missing indexes so I ended up removing all the files from the data environment and then putting them all back and redefining the relationships and whatever it was has now gone away.

Mary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top