Apologies for the Subject Heading!
I am working on a small invoicing app for a local Tyre and Exhaust
Centre. They want to be able to type in the Vehicle Registration
Number and it automatically bring up the customers name and address.
This in itself seems fairly straightforward except that 1 customer can
have many vehicles.
My tables are set up as follows:
TblCustomer (CustID as PK) in one to many with tblVehicle (VehicleID
as PK and CustID as FK)
tblVehicle (VehicleID as PK and CustID as FK) in one to may with
tblInvoice (InvoiceID as PK and VehicleID asFK)
tblInvoice (InvoiceID as PK and VehicleID asFK) in one to many with
tblInvoiceDetail (InvoiceDetailID as PK and InvoiceID as FK)
I thought of using a combobox and NotInList but don't know how to get
the data in both tables updated. There are other issues like change
of ownership etc.
Can anyone give any pointers? Thanks in advance for any help.