Hi
I have a question regarding a subform, when opening the main form (frmBookAppointment) with a customer record on it which is based on an appointment query, the subform (tblVehiclesSubform) data is opened with that particular customers vehicles displayed. this form is linked to the main form using a CustomerID field, the subform is in a datasheet view so that if the customer has multiple vehicles they are easily visable in rows.Also hidden in the suform is a VehicleID which is unique to every vehicle, here's my problem, what i want to happen is that you can double click on the row with the vehicle details on it that you want to make an appointment for and that vehicles VehicleID will appent to the appointments table (tblAppointments) in field (ApptVehicleID)for that particular appointment.
Ive been playing around with this for weeks and cant seem to acheive what i want to happen, still learning access by trial and error.
Any suggestions or any ideas to acheive this more simply would be greatly appreciated.
Thanks Chris
I have a question regarding a subform, when opening the main form (frmBookAppointment) with a customer record on it which is based on an appointment query, the subform (tblVehiclesSubform) data is opened with that particular customers vehicles displayed. this form is linked to the main form using a CustomerID field, the subform is in a datasheet view so that if the customer has multiple vehicles they are easily visable in rows.Also hidden in the suform is a VehicleID which is unique to every vehicle, here's my problem, what i want to happen is that you can double click on the row with the vehicle details on it that you want to make an appointment for and that vehicles VehicleID will appent to the appointments table (tblAppointments) in field (ApptVehicleID)for that particular appointment.
Ive been playing around with this for weeks and cant seem to acheive what i want to happen, still learning access by trial and error.
Any suggestions or any ideas to acheive this more simply would be greatly appreciated.
Thanks Chris