Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to seek data in view
Message
From
07/09/2008 13:16:13
 
 
To
07/09/2008 09:07:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01345528
Message ID:
01345553
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform