Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an index with CreateIndex
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00299091
Message ID:
00299100
Views:
41
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform