Hello all,
I have a stock control database, which (very simplified), has a table in, called "Modifiers".
I thought it would be nice to keep both additions and losses of stock all in one table - and show it on a form under two different tabs.
What I would really like to do is have the user enter numbers in the form, but for the numbers in the "Losses" section, for them to be "minused", so that a Sum() will work out the correct total.
SO, with 5 additions, and 2 losses (entered just like that, no minus numbers), I want the Sum() to return 3, NOT 7.
Hope that makes sense! Or would it just be easier to bung additions and losses in two seperate tables?
Thanks very much indeed!
I have a stock control database, which (very simplified), has a table in, called "Modifiers".
I thought it would be nice to keep both additions and losses of stock all in one table - and show it on a form under two different tabs.
What I would really like to do is have the user enter numbers in the form, but for the numbers in the "Losses" section, for them to be "minused", so that a Sum() will work out the correct total.
SO, with 5 additions, and 2 losses (entered just like that, no minus numbers), I want the Sum() to return 3, NOT 7.
Hope that makes sense! Or would it just be easier to bung additions and losses in two seperate tables?
Thanks very much indeed!