Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Creating an index with CreateIndex
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement