![]() |
kujox 5/25/2008 |
i would like to ask for help regarding this 2 tables, in ""order"" table and INVENTORY table, if i add a record on order, i will select 1 ITEMNAME which is a ITEMNAME from inventory table, and i will input how many it will subtract (withdraw) which is ITEMSTOCKS from INVENTORY TABLE. so if bulb has 10 stocks(ITEMSTOCKS), and if withdraw 1, it will became 9. i showed my visual editor so someone can help me with the right and proper codes. as i know i have to put the codes on "before record added" but don't know how and what to put. in short words, im asking for subtraction operation code. and also, how do i update the table inventory eg.bulb_01 from 10 stocks to 9 stocks? when im adding a record within inside of "order add page" thank you so much...
|
M
|
madcat820 author 5/25/2008 |
im sorry , im completely noob to this, it gives me an error |
M
|
madcat820 author 5/25/2008 |
ok, i got it working thank you so much for helping. |