G
Guest
I am looking to include some text on a form which shows the service interval
miles between services. This is saved in a table ‘Service Intervals’ and is
based on the Make ID of the vehicle-car. For example Renaults are only
serviced every 9000 miles but Vauxhalls 10000.
Service Intervals table set up is as follows:
Make ID (foreign key) (text)
ServiceIntMiles-Hours (text)
My Form is designed mainly on my Vehicles-Cars table:
Registration Number (PK) (text)
Make ID (foreign key) (text)
Model ID (foreign ke) (Text)
Plus other fields associated with the vehicle-car
The Make ID on the form is a combo box which is taken from the ‘Makes table’.
Now, for the hard part (well the bit I’m having trouble with)….
I want the text box on the form to show the ServiceIntMiles. How please?
Surely it needs to look at the make id of the current record displayed then
look at the service interval table to see what the result should be and then
display it.
Can anyone help? Am I explaining myself well enough?
miles between services. This is saved in a table ‘Service Intervals’ and is
based on the Make ID of the vehicle-car. For example Renaults are only
serviced every 9000 miles but Vauxhalls 10000.
Service Intervals table set up is as follows:
Make ID (foreign key) (text)
ServiceIntMiles-Hours (text)
My Form is designed mainly on my Vehicles-Cars table:
Registration Number (PK) (text)
Make ID (foreign key) (text)
Model ID (foreign ke) (Text)
Plus other fields associated with the vehicle-car
The Make ID on the form is a combo box which is taken from the ‘Makes table’.
Now, for the hard part (well the bit I’m having trouble with)….
I want the text box on the form to show the ServiceIntMiles. How please?
Surely it needs to look at the make id of the current record displayed then
look at the service interval table to see what the result should be and then
display it.
Can anyone help? Am I explaining myself well enough?