Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Indexing a Cursor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00560265
Message ID:
00560343
Vues:
18
Good catch -- but actually it was a typo... the real tag (in the actual, failing, code) is "name1."

>>>Vin,
>>>
>>>Can you post the code?
>>
>>
>>There are a few spots where it is happening. They are all remarkable straightforward. Here's one:
>>
>> SELECT D.lname, ;
>> D.fname, ;
>> D.dob, ;
>> ROUND(S.score,2) AS RndScr ;
>> FROM st_score S, st_demo D ;
>> WHERE S.stdid = D.stdid ;
>> AND NOT EMPTY(S.score) ;
>> INTO CURSOR C_TotScr NOFILTER
>>
>> INDEX ON lname + fname TAG name && error here
>>
>>There's nothing special about the underlying tables (st_score and st_demo). The result set varies, but we have duplicated it with just a dozen or so records.
>>
>>Very strange. These lines of code were written months ago and, again, work on some of the machines just fine.
>>
>
>Name is a reserved word. Try renaming the tag to cName or something.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform