<h2>Creating a Form Report</h2>

<p>A common type of form report is an invoice with a header and then line items below.  This section will describe how to write a report for a simple invoice form.</p>

<p>First we need to create the tables, go to QueryView and run the following (each "create" statement must be run separately):</p>

<pre>
create invoice (customer, invoice, invoice_number) key(invoice)

create invoicelines (invoice, line_num, price, product, qty)
    index(invoice) in invoice cascade
    key(