Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
De subclass and views with indexes
Message
De
14/01/2008 11:58:59
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01281123
Message ID:
01281627
Vues:
21
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform