I have a database I'm setting up with two main functions--Entering new receipts, and entering new shipments.
For the new receipts, I need a way to be able to enter new parts. For both new receipts and new shipments, I need a way to be able to enter a new order number and a new truck number.
The main forms have some information that auto-fills upon opening (like the new pallet number--it's always one number higher than the last one, so I just have it auto-fill into the appropriate field). I also have buttons on the main forms that, upon clicking, open another form for entering the information for the new truck/order number/part.
I'm wondering if A) there is an effective way to error-trap the receipt and shipment forms. When either of them lose focus (when a button is clicked and a new form is opened), whatever data that was already entered gets auto-saved. If the user then decides they don't want to save that information, I'm having trouble making sure the tidbits of data that got auto-saved then gets deleted out of the receipts table.
Or B) if there's a simpler way of desigining my database to avoid having this problem altogether.
I hope I explained this well enough, I tried to keep it simple. If anyone needs more detailed explaination, I can provide.
For the new receipts, I need a way to be able to enter new parts. For both new receipts and new shipments, I need a way to be able to enter a new order number and a new truck number.
The main forms have some information that auto-fills upon opening (like the new pallet number--it's always one number higher than the last one, so I just have it auto-fill into the appropriate field). I also have buttons on the main forms that, upon clicking, open another form for entering the information for the new truck/order number/part.
I'm wondering if A) there is an effective way to error-trap the receipt and shipment forms. When either of them lose focus (when a button is clicked and a new form is opened), whatever data that was already entered gets auto-saved. If the user then decides they don't want to save that information, I'm having trouble making sure the tidbits of data that got auto-saved then gets deleted out of the receipts table.
Or B) if there's a simpler way of desigining my database to avoid having this problem altogether.
I hope I explained this well enough, I tried to keep it simple. If anyone needs more detailed explaination, I can provide.
Last edited: