Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling and moving two tables at the same time
Message
De
09/11/2004 14:30:54
 
 
À
09/11/2004 14:20:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows '98
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
00959374
Message ID:
00959710
Vues:
7
>OK, so I created a view. One table is tiny, but the other is rather large as most of our tables are. When I browse the created view, it runs a query for about a minute or so then pops up. Is that what would happen if I used the view in a form? would it really take all that time to query each one? If so, that is way to slow and inefficient for us to use that method with our large tables.

How long does it take to simply browse the table(s)? Another benefit of views is to exclude data that isn't relevant. If the user is only viewing certain fields, only include them. If there is a simple identifier to exclude rows from being viewed, you can use a parameterized view, which tends to be much faster than loading the entire table.
SELECT Field1, Field2 FROM mytable WHERE Field1.Value = ?SpecifiedValue
Chris.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform