M
maura
I have a new database that needs to track a car's location. My one table is
the
tblRentalAgreement and (along w/ other things) I need to track where the car
is leaving from and where it is getting returned to. In some cases this maybe
the same. I have two fields:
tblRentalAgreement
LocationOut
LocationIn
I have another table for the car information tblCar. Along with other things
this needs to track where the car is.
tblCar
LocationId
I have a third tblLocation that only has two fields, so I can create a combo
box on my frmCar and choose the specific location (right now there is only a
list of 5 locations):
tblLocation
LocationId
Location
NOW, the question is how can I flow the tblRentalAgreement[LocationOut] to
the tblCar[Location] and when the car returns I need to have
tblRentalAgreement[LocationIn] to also update tblCar[Location].
Do I base both of the Forms for frmRentalAgreement and frmCar on a query
that combines both of these tables??? Or is this an event AfterUpdate that I
will need to update these fields on the Forms.
I am trying to plan this out and I am stuck on which came first the Location
in the tblRentalAgreement or the Location in the tblCar...
Suggestions, are sooo welcomed. Thanks, m.
the
tblRentalAgreement and (along w/ other things) I need to track where the car
is leaving from and where it is getting returned to. In some cases this maybe
the same. I have two fields:
tblRentalAgreement
LocationOut
LocationIn
I have another table for the car information tblCar. Along with other things
this needs to track where the car is.
tblCar
LocationId
I have a third tblLocation that only has two fields, so I can create a combo
box on my frmCar and choose the specific location (right now there is only a
list of 5 locations):
tblLocation
LocationId
Location
NOW, the question is how can I flow the tblRentalAgreement[LocationOut] to
the tblCar[Location] and when the car returns I need to have
tblRentalAgreement[LocationIn] to also update tblCar[Location].
Do I base both of the Forms for frmRentalAgreement and frmCar on a query
that combines both of these tables??? Or is this an event AfterUpdate that I
will need to update these fields on the Forms.
I am trying to plan this out and I am stuck on which came first the Location
in the tblRentalAgreement or the Location in the tblCar...
Suggestions, are sooo welcomed. Thanks, m.