This isn't really a VB question, more of a programming techniques type question (i.e. could apply in any language).
To explain, I am in the early stages of doing a rewrite of an awful Access POS/Inventory program into .NET/SQL 2005.
The program keeps track of stock with updates like the following:
Product.Quantity = Product.Quantity + NewStock
Needless to say, it is often inaccurate, and I have no way of tracking how Quantity became some ridiculous value (even to negative sometimes).
I know I want to use transactions, I want to know how best to implement that, and other best practices.
Links to sites and book suggestions are welcome.
To explain, I am in the early stages of doing a rewrite of an awful Access POS/Inventory program into .NET/SQL 2005.
The program keeps track of stock with updates like the following:
Product.Quantity = Product.Quantity + NewStock
Needless to say, it is often inaccurate, and I have no way of tracking how Quantity became some ridiculous value (even to negative sometimes).
I know I want to use transactions, I want to know how best to implement that, and other best practices.
Links to sites and book suggestions are welcome.