Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating an index with CreateIndex
Message
De
06/12/1999 08:29:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Creating an index with CreateIndex
Divers
Thread ID:
00299091
Message ID:
00299091
Vues:
52
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform