>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.
Yes, this is what I actually do in a Bank accounting App I got. I save the dayly balance in a table, so if I need to know the balance to a specific date only have to search for that date.
Enmanuel
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain