Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
De subclass and views with indexes
Message
From
14/01/2008 11:58:59
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:
01281627
Views:
19
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform