F
fiona.innes
Hiya,
I have a database that is going to be used for a car garage ideally
what id like to do is to have a table customers
with fields .. tblCustomers
(...IDCustomer (automatic No & PK)
strCustomerName
strAddress
strContactName
strContactNo....)
then another table which will contain all the vehicle details, each
customer has many vehicles tblVehicle
(..VehicleReg (This will be the PK)
strMilrage
strLastService
strChassieNo
strAdditionalInfo
strCustomerName (this will be the FK)...)
to this each vehical can have many repairs/jobs carried out on it i.e
tblJob
(..JobID .. (Automatic No & PK)
VehicleReg (Foregin Key)
strJobDetails
strDateWorkDone
strCost...)
When a job is carried out various parts are sometimes ordered so i
have a parts table tblParts
(..PartID (Automatic No & PK)
strPartName
strNetCost
strRetailCost
strSupplier
JobID)
I have created these tables but when I make all the replationships the
do not come up as 1 to many and when I had data to the tables via
forms the data does not save into the tables. Can anyone give me some
advice as to what I can do to make this work and/or improve my tables.
Thanks
Fiona
I have a database that is going to be used for a car garage ideally
what id like to do is to have a table customers
with fields .. tblCustomers
(...IDCustomer (automatic No & PK)
strCustomerName
strAddress
strContactName
strContactNo....)
then another table which will contain all the vehicle details, each
customer has many vehicles tblVehicle
(..VehicleReg (This will be the PK)
strMilrage
strLastService
strChassieNo
strAdditionalInfo
strCustomerName (this will be the FK)...)
to this each vehical can have many repairs/jobs carried out on it i.e
tblJob
(..JobID .. (Automatic No & PK)
VehicleReg (Foregin Key)
strJobDetails
strDateWorkDone
strCost...)
When a job is carried out various parts are sometimes ordered so i
have a parts table tblParts
(..PartID (Automatic No & PK)
strPartName
strNetCost
strRetailCost
strSupplier
JobID)
I have created these tables but when I make all the replationships the
do not come up as 1 to many and when I had data to the tables via
forms the data does not save into the tables. Can anyone give me some
advice as to what I can do to make this work and/or improve my tables.
Thanks
Fiona