Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need a little help in understanding what the $$%$$ ...
Message
De
04/10/2004 04:38:27
 
 
À
02/10/2004 09:38:03
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00948113
Message ID:
00948376
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform