Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is traditional do while...enddo faster than sql select ?
Message
 
 
To
15/08/2007 21:04:57
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01248424
Message ID:
01248482
Views:
26
>hi all !
>i test my application with share data folder in remote server with vpn
>i found that the tradition way is much much faster than the sql statement
>
>use \\server\data\mytable order ac
>seek m.ac
>do while ac=m.ac
> *** get some data and append records into tempcursor....
>enddo
>sele tempcursor
>brow
>
>i try sql statement
>sele * from \\server\data\mytable where ac=m.ac into cursor tempcursor
>i've found that it takes very long time to show the tempcursor
>
>why ?

See if this http://www.berezniker.com/display/VFP/Queries+and+Filtered+Cursors may apply.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform