G
Guest
Hi, I am using a wet and cold holiday weekend to learn about Access. I want
to create a simple sales order entry function.
I have set up 2 tables Orders and Order Details. The Orders table holds
order number, customer, due date, etc and the Order Details table is to hold
the line items (product, quantity, price, etc). So far, so good.
I have created 2 forms and made the Order Details form a subform of the
Order Header form. So far, so good.
I have 2 questions arising from this.
1. How do I get the cursor to tab from the last field of the header form to
the first field of the details subform? When I get to the last field of the
header form I get an error message saying "You cannot add or change a record
because a related record is required in table "Order Details".
I want to get into the subform to create that related record!
2. Is it possible, and if so where do I get info on how, to enter (and show)
many detail lines for the one header. This is a normal sales order situation,
customer stuff followed by 5 or 6 lines of products on the order.
I have two old (Windows 95) MS Access tutorial manuals, beginners and
advanced but can't find the answers there. I am using MS Access 2000.
Any help or pointers to where I can get the help would be appreciated.
BD
to create a simple sales order entry function.
I have set up 2 tables Orders and Order Details. The Orders table holds
order number, customer, due date, etc and the Order Details table is to hold
the line items (product, quantity, price, etc). So far, so good.
I have created 2 forms and made the Order Details form a subform of the
Order Header form. So far, so good.
I have 2 questions arising from this.
1. How do I get the cursor to tab from the last field of the header form to
the first field of the details subform? When I get to the last field of the
header form I get an error message saying "You cannot add or change a record
because a related record is required in table "Order Details".
I want to get into the subform to create that related record!
2. Is it possible, and if so where do I get info on how, to enter (and show)
many detail lines for the one header. This is a normal sales order situation,
customer stuff followed by 5 or 6 lines of products on the order.
I have two old (Windows 95) MS Access tutorial manuals, beginners and
advanced but can't find the answers there. I am using MS Access 2000.
Any help or pointers to where I can get the help would be appreciated.
BD