I want to go to record 3 HelpKey 3 or HelpTie 3 they are the same. HelpKey is a counter, HelpTie is a number.
Descrition in tblRef field is OrderDetails Customer
Ok, I am close now but cant get to the specific record I want.It opens the form but goes to wrong record.
On Error GoTo Err_Command55_Click
Dim strFormName As String
Dim strCriteria As String
strFormName = "tblHelp"
strCriteria = "[tblRef].Value =(3)" 'I need to go to HelpKey or (HelpTie which is a number)which is a counter with the value of 3,i.e. record 3
DoCmd.OpenForm strFormName, acNormal, , strCriteria
Exit_Command55_Click:
Exit Sub
Err_Command55_Click:
MsgBox Err.Description
Resume Exit_Command55_Click
The name of the form I am trying to link back to is frmHelp
Main form is named OrderDetails
Can I do this?