Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stock Qty at particular date
Message
From
17/08/2001 08:46:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00544763
Message ID:
00545230
Views:
27
>>I think that, indeed, the best alternative is to re-calculate all data that affects the stock balance. And that is exactly what I do, in a similar system.
>>
>>Hilmar.
>
>Agree 100% with you Hilmar but he gotta have in mind the actual size of the table. A calculation like this could restraint the program execution if the table got too big.

I, again, agree 100% with this caveat.

Perhaps this could be solved by saving the current stock once a month or once a week, and then calculating backwards or forwards from that point. This would greatly reduce the amount of calculations required. Of course, it would initially be more work for the programmer.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform