Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating an index with CreateIndex
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00299091
Message ID:
00299100
Vues:
40
>Hi ever'body,
>
>I have a bizobj with a local view - lv_patients. I'm trying to create an index on the view by putting the following in the PostInitHook of the bizobj dataenvironment:
>
>This.CreateIndex('v_patients', 'INDEX ON UPPER(patient_id) TAG PatientID')
>
>When I instantiate the object, I blow up on a seek() in the init() of the bizobj. SET('index') returns blank. I can set the index -SET INDEX TO patient_id - in the command window and it works fine. Anyone see what I am doing wrong?
>
>Thanks, Merry Christmas!

Look like an easy thing here:
"TAG PatientID" is not the same as "SET INDEX TO patient_id" "_id" <> "id"

__Stephen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform