using a from for multiple entries processed at once to a table

A

Andy

I have created a table to store billing info from various
companies.Using the autoform generated by access I input
the invoice no(Primary Key), the customer name, the charge
amount of the bill and I select the vat amount from a
combo box for the bill and this all gets stored in the
table.
This all works fine for bills that have single charges but
alot of the bills have multiple charges.
How do I go about creating a form that will allow multiple
charges to be processed to the table but all under the
same invoice number? So that I was to run a report from
the table the invoice no would show the all the charges
for that bill one after the other so I can then total them.

any help would be great thanks
Andy
 
J

JohnR

Andy,

You need to create a subtable to hold the line items and
set up a one-to-many relationship.

Billing Table LineItemDetail
Invoice Number 1 >>>>>>>>>>>>>>>>>>>>>Item 1
vInvoice number 3 >>>>>>>>>>>>>>>>>>>>>Item 1
Invoice Number 4 >>>>>>>>>>>>>>>>>>>>>Item 1
v
Create an Order Entry database from File>New>Templates to
get an idea about the proper structure.

JohnR
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top