Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
P-view speed
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
P-view speed
Divers
Thread ID:
00179841
Message ID:
00179841
Vues:
66
What determines the speed of a parameter view? I have a form with a pview based grid. The pview is a simple:
select * from DETAIL where ID = ?pID

In the Form.MoveRec() method there is something like:
pID = MASTER.ID
requery(grid.Recordsource)
gird.refresh()

MASTER has some 3,000 records and DETAIL 100,000

It takes 25 seconds to requery the grid!

If I change the grid to use the traditional approach, linking both tables directly, there is no apparent delay when changing records in MASTER.

Both tables are properly indexed, have no relations set and no triggers.

What am I missing?

TIA

Silvio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform