hi
i am trying to open a record into another form from a hyperlink in a field,
i have the VBA code of
When I click on the hyperlink, a pop up box appears asking for the Tanc_ID,
how can i stop this and open the record straight into the form
i am trying to open a record into another form from a hyperlink in a field,
i have the VBA code of
Code:
Private Sub txtTancNumber_Click()
Const cstrForm As String = "frm_NewCavityTanc"
DoCmd.OpenForm cstrForm, WhereCondition:="[Tanc_ID]=" & Me.txtTancNumber
End Sub
When I click on the hyperlink, a pop up box appears asking for the Tanc_ID,
how can i stop this and open the record straight into the form