Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is ADO faster than VFP 6
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00934351
Message ID:
00934593
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform