line_num)
</pre>

<p>Remember when entering test data into these tables, invoice must be unique in the invoice table, and the values for invoice in the invoicelines table must exist in the invoice table in the invoice column (foreign key). The <a href="Master-Detail Relationship.html">Master-Detail Relationship</a> section shows how to maintain the foreign key automatically.</p>

<p>In the following definitions, the first line is the name of the definition (type this in the tree view on the left side in Lib