Hi
I have added the code below as an on click event on the ID field shown in screenshot earlier. If i remove , , , "ID = '" & Me!ID & "'" then the report closes and the incident form opens fine, it's just when i try to add the rest i get the error message.
I have added another screenshot to show the label names. I have tried changing the code all combinations of ID & ID_Label but still get the error message
Untitled.jpg
HTML Code:
Private Sub ID_Click()DoCmd.CloseDoCmd.OpenForm "Incidents", , , "ID = '" & Me!ID & "'"End Sub