J
JJ
I am trying to add a way for users to be able to double-
click a field on one form that will open another form that
contains more detailed information. Below is my code but
it's doing nothing.
Private Sub Text51_DblClick(Cancel As Integer)
On Error GoTo Err_Text51_DblClick
DoCmd.OpenForm "frmCoDetail", , , "[CompanyName]=" & Me!
[CompanyName]
Exit_Text51_DblClick:
Exit Sub
Err_Text51_DblClick:
MsgBox Err.Description
Resume Exit_Text51_DblClick
End Sub
click a field on one form that will open another form that
contains more detailed information. Below is my code but
it's doing nothing.
Private Sub Text51_DblClick(Cancel As Integer)
On Error GoTo Err_Text51_DblClick
DoCmd.OpenForm "frmCoDetail", , , "[CompanyName]=" & Me!
[CompanyName]
Exit_Text51_DblClick:
Exit Sub
Err_Text51_DblClick:
MsgBox Err.Description
Resume Exit_Text51_DblClick
End Sub