Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VIEWS vs FILTER
Message
 
À
16/11/1998 15:22:36
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00157948
Message ID:
00157979
Vues:
18
>>If you have optimistic row buffering for the view and move through the view records you don't need TABLEUPDATE because when you move off the record it gets updated automatically
>
>Thanks, I just figured that out 20 seconds ago. I wonder why this occurs in VIEWS and not in other TABLES.
>
>Also, do you have any specs or anecdotel evidence on how much faster VIEW's are than the FILTER command? Edward indicates that he uses VIEWs for everything but I already have FILTERs set up so I am trying to decide if I should rewrite:
> - all my parent/child stuff;
> - just my parent/child grid stuff, or;
> - the parent/child code for the grid the one grid I am having probs with.

Don't have the figures now. I also try to use Views (or SELECT ... into cursor - especially for reports. ) everywhere. There is also another thing - if you use tables and relations and also SQL SELECT - the record pointer in the source tables may move after SQL SELECT and give you unpredictable state of your related tables. If you use just views an SELECTs you don't care where the record pointer is in the source tables.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform