Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why these two commands will give different results
Message
 
 
À
04/12/2006 15:50:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01174441
Message ID:
01174742
Vues:
10
>>Found a mismatch on I801972COL cRate = 0 laArr[1]= 0.100000000
>>Found a mismatch on I518767COL cRate = 0 laArr[1]= 0.100000000
>
>Are you sure the SQL is pulling the same records? AFAIK, in VFP8 we didn't have the support for SQL reading from the buffers, so maybe your SQL statement reads from the file on disk, while your SUM command refers to current buffers?

There is no buffering involved. For some unknown reason all modifications are done on tables directly. I haven't even tried to raise the question why was it done so and how multi-users conflicts were supposed to be resolved.

But since there is no buffering, in both cases the results should match? If we assume delayed save for the changes on the disk, it still doesn't explain how two wrong records were found, since no new records are added and Inv_No and Salesman fields are not touched.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform