Hi all
I will try and explain my issue best I can, I have got a tabular form with a list of vehicles each with a button beside each record, when the button is clicked it should pick id the IDFKVehicle ref number from each record and put through a parameter query but instead it always picks it up from the top record not the one the button is beside anyone know how to sort this?
the query does as it should but its just the form code
I will try and explain my issue best I can, I have got a tabular form with a list of vehicles each with a button beside each record, when the button is clicked it should pick id the IDFKVehicle ref number from each record and put through a parameter query but instead it always picks it up from the top record not the one the button is beside anyone know how to sort this?
Code:
Private Sub Command356_Click()
DoCmd.RunMacro "MCR-FRMVehicleDetails-ServiceInput-OPEN"
End Sub
Attachments
Last edited: