FrustratedAtWork
Technical User
Someone PLEASE HELP.. I have a very small and somewhat simple A2000 dB (it's for placing book orders). I have an orders table and and order line item table (one order can have many items (books) ordered. When the user enters the data for a new order a single record with order number is placed in the order table, then the actual book info is placed in the order line item table. The only thing the product table is currently doing is being used for lookup values on the forms. I need to somehow take the value for the quantity for an item (book) ordered and subtract the quantity ordered from the Product table/Quantity on Hand Field. I then need to have the field updated with the new quantity on hand. Additionally, if an order item is deleted I will then have to take the quantity and add it back to the Product Table. Please help...