A
Alex
Hi everyone,
Here is my question.
The sample database - Northwind has a form "Orders".
This form has a subform - "Order Details" - where one can
choose a product for the Order, enter the price and the
quantity.
The question:
How the hell they (Microsoft) did that so when I enter a
new product with quantity and price in the subform, this
record automatically has OrderID field filled out with
appropriate Order ID from the Main form "Orders"? (I
don't even have to enter it myself..)
In my case (Invoices and Invoices Details) the moment I
am trying to enter a new record in Invoices Details
subform it says something - the appropriate record must
be in Invoices table?!?- can't add it up.
(Invoices has one key - InvoiceID, Invoices Details has
two keys - InvoiceID, ItemID). Connected one to many
through InvoiceID field.
Thank you for your explanations and time.
Alex
Here is my question.
The sample database - Northwind has a form "Orders".
This form has a subform - "Order Details" - where one can
choose a product for the Order, enter the price and the
quantity.
The question:
How the hell they (Microsoft) did that so when I enter a
new product with quantity and price in the subform, this
record automatically has OrderID field filled out with
appropriate Order ID from the Main form "Orders"? (I
don't even have to enter it myself..)
In my case (Invoices and Invoices Details) the moment I
am trying to enter a new record in Invoices Details
subform it says something - the appropriate record must
be in Invoices table?!?- can't add it up.
(Invoices has one key - InvoiceID, Invoices Details has
two keys - InvoiceID, ItemID). Connected one to many
through InvoiceID field.
Thank you for your explanations and time.
Alex