Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is ADO faster than VFP 6
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00934351
Message ID:
00934593
Views:
25
Hi Houston,

You were so right, but I still get 12 seconds for Visual C++ and 8.472 seconds for VFP.

Do you have any thoughts on this?

Thank you,
Ali


>>Here is VFP 6 Source code:
>>
>pp = val(strtran(time(), ":", ""))
>>use C:\Projects\Lagger-3d\Desurvey\Desurvey
>>
>>Replace all Elev With 23.99
>>pp2 = val(strtran(time(), ":", ""))
>>? pp2 - pp
>
>This is pretty much what I suspected : you have not closed the table after the Replace i.e. your VFP time is erroneous. Try the following instead:
nStart = Seconds()
>use C:\Projects\Lagger-3d\Desurvey\Desurvey
>Replace all Elev With 23.99
>Use In Desurvey
>? Seconds() - nStart
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform