Hi, i hope this is the right place to post this
I am wanting to know, I am making an order type database and it has stock control,
if we have a table with product information, containing the stock, and we have an order form, how can I make it so that, once the order has been placed, after clicking a button, tell it to take away the qty ordered from the order form, to the total in stock in another form/table?
is it possible?
ftp://temp:temp@techftpserver.co.uk/mdffc.zip
I have like 5 text boxes in the order form, where the customer can order up to 5 items per order. Now, I have set traps where if the QTY ordered is > than the stock, don't allow them to order, so the user has to change it. if all success, when they hit the add new record button, on that event, it should take the product number from each row, and match it with the product number in the product details form and when it finds it, it should do the calculation of subtracting the QTY value from the Stock in total value, in the Product details form.
I am wanting to know, I am making an order type database and it has stock control,
if we have a table with product information, containing the stock, and we have an order form, how can I make it so that, once the order has been placed, after clicking a button, tell it to take away the qty ordered from the order form, to the total in stock in another form/table?
is it possible?
ftp://temp:temp@techftpserver.co.uk/mdffc.zip
I have like 5 text boxes in the order form, where the customer can order up to 5 items per order. Now, I have set traps where if the QTY ordered is > than the stock, don't allow them to order, so the user has to change it. if all success, when they hit the add new record button, on that event, it should take the product number from each row, and match it with the product number in the product details form and when it finds it, it should do the calculation of subtracting the QTY value from the Stock in total value, in the Product details form.
Last edited: