Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
De subclass and views with indexes
Message
 
To
14/01/2008 12:22:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01281123
Message ID:
01281643
Views:
20
>>>>If I use a de subclass with table buffered views where do I create the indexes?
>>>>
>>>>In the past I've just been using form.load and opening the view, creating the indexes, set buffermode, and then requery.
>>>
>>>I'd do that in de.init - by that time, its objects are created and cursors opened. You may do that in each cursor's .init, if you want to keep it a bit neater.
>>>
>>>Haven't tried it in a subclassed DE, though - this is from old form-embedded DE. But it should behave the same, being the same base class.
>>
>>Thank you!!!
>
>Wait, wait... try it first and tell me whether it works for a subclassed DE or not - I said I haven't tried it, so if you do, let us know whether it works. Please? :)

I'll let you know... I'll be working on it tonight.
Previous
Reply
Map
View

Click here to load this message in the networking platform