Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way to seek data in view
Message
De
07/09/2008 13:16:13
 
 
À
07/09/2008 09:07:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01345528
Message ID:
01345553
Vues:
14
I use this in the code:

select stock && stock.dbf
mkey=this.value
seek mkey order stock_id

with 10+ clients doing invoicing at the same time, I always got Open Table screen pop-up.
(is there any limitation with VFP, or .dbf in multi-users environment?)

then I think if I use view instead of table, it might help.

I changed it to:

select v_stock && this is view
mkey=this.value
locate for stock_id=this.value

I haven't test this yet in the real situation.

a) will it get rid of Open Table pop-up screen?
b) will it slower? since it's locate instead of seek.
c) any suggestion?

thanks for the help
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform