![]() |
kujox 2/28/2009 |
I have two tables, one is called INVOICE and the other is called LINE. INVOICE and LINE have a one-to-many relationship. Lets assume that INVOICE contains: Invoice_ID, To, Issue Date, Due_Date, and Total. And lets assume LINE contains: Invoice_ID, Line_ID, Description, Quantity, Unit_Price and Amount. When I create a new INVOICE I want to be able to add multiple LINE records in an inline fashion. And when I add a LINE it should automatically be linked to the INVOICE, so the Invoice_ID field in the LINE table (which is not visible) will be populated with the INVOICE_ID of the new INVOICE I am currently creating.
|
S
|
smauster author 2/28/2009 |
Yes it does this out of the box, i've got invoices, sales orders, purchase orders, purchase invoices etc. all with detail lines, you just make a relationship link in the datasource tables page, just drag a link from one table to another and the relationship screen comes up, double click on the line to edit the relationship
|
J
|
Jane 3/2/2009 |
Hi, |