Hello,
I have a Form (continuous form) which comprises a PK, a number of fields and an Image serving as a button [that has an On Click event]. The desired functionality is for the user to click the button (code below) which opens a form populated with editable data for that specific record.
Whichever button is clicked, the Job_Code is 18. If I click directly into the record for 19, then the Job_Code is correctly 19; the issue seems to be that clicking the image does not select the record... can this be resolved?
Event Code
Code:
Private Sub BTN_MAIN_EDIT_JOB_Click()
DoCmd.OpenForm "MODALFORM_ED_Job", acNormal, , , , acWindowNormal, [Job_Code]
End Sub
Advice much appreciated!