Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a little help in understanding what the $$%$$ ...
Message
From
04/10/2004 04:38:27
 
 
To
02/10/2004 09:38:03
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00948113
Message ID:
00948376
Views:
15
Hi,

>>
code...
Select wpsctrans
set order to tag xrec
more code...

The line 'set order to tag xrec' was returning an error 'Variable xrec not found.'.
>>

You can get this error if you are somehow referencing the wrong CDX file. Simple example:
CREATE TABLE T1 (recnum i)
INDEX ON recnum TAG xref
CREATE TABLE T2 (recnum i)
INDEX ON recnum TAG recnum
SET ORDER TO TAG xref OF T1
Could the wrong index have been selected somewhere else in code ?
Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform