Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP60- Views and Seek
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00205937
Message ID:
00205978
Vues:
17


Otherwise, you will have to manually (i.e., not allow the DE to open them for you) open the view and create them yourself. If you put a view in the DE, the DE will open the view with buffering. At such point, you can not create an index on a buffered table or view. So, you are going to save effort by just doing this yourself.

Not so. I put my views in the DE with buffermode set to 3 and NoDataOnLoad=.T. Then, in the .Init of the form, I create the indices I need, set buffer mode to 5 and then REQUERY() the view to bring the data in. I found bringing in the data after creating the indices is faster than the other way round.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform