Ade F
Avid Listener
- Local time
- Today, 04:00
- Joined
- Jun 12, 2003
- Messages
- 97
Hoping someone could help me with a simple or not so simple problem here. I have a purchase order form that using a form has the top half populated with the order details such as ORDER ID (using a table named ORDERS) , Date, time etc and in a sub form I have the order details derived from a table called 'order details' the order details form has three table entries
1. Order ID - derived from ORDER ID table.
2. Product Name - From the products table
3. Quantity - direct entry into Order details table / sub form.
My problem at the moment is that an employee is able to fill in the top half of the form and exit without having filled in details for the products within the sub form thus leaving and ORDERID generated but no actual items related to the sub form. It seems not to be just a matter of setting the sub form parameters to Required - 'yes' as the ORDER ID in the sub form is not created until someone actually enters a product entry thus the creation of the ORDERS table entry but not the sub form.
My question is this ,is there a way of enforcing in some way that upon the ORDERS table ID creation an item product item and quantity must be entered.
Alternatively or additional to this is there a way of an employee having filled out the top half of the ORDER and then wishes to exit clicking a button and exiting the form without the initial order information being saved.
Help would be greatly appreciated, as I don't wish for an ORDER generated without any products assigned.
I may be committing unholy access sins here so please enlighten me as to my best approach to solving this problem. Shoud you require more information then please do not hesitate to ask.
Regards
Ade
My order looks as follows
1. Order ID - derived from ORDER ID table.
2. Product Name - From the products table
3. Quantity - direct entry into Order details table / sub form.
My problem at the moment is that an employee is able to fill in the top half of the form and exit without having filled in details for the products within the sub form thus leaving and ORDERID generated but no actual items related to the sub form. It seems not to be just a matter of setting the sub form parameters to Required - 'yes' as the ORDER ID in the sub form is not created until someone actually enters a product entry thus the creation of the ORDERS table entry but not the sub form.
My question is this ,is there a way of enforcing in some way that upon the ORDERS table ID creation an item product item and quantity must be entered.
Alternatively or additional to this is there a way of an employee having filled out the top half of the ORDER and then wishes to exit clicking a button and exiting the form without the initial order information being saved.
Help would be greatly appreciated, as I don't wish for an ORDER generated without any products assigned.
I may be committing unholy access sins here so please enlighten me as to my best approach to solving this problem. Shoud you require more information then please do not hesitate to ask.
Regards
Ade
My order looks as follows