theinviter
Registered User.
- Local time
- Today, 13:45
- Joined
- Aug 14, 2014
- Messages
- 268
Dear Guys,
need help
i have a form a need to go to record upon double click in list,
i tried below code but not going to record
as the record is combobox.
Code Tags Added by UG
Please use Code Tags when posting VBA Code
Please read this for further information:-
https://www.access-programmers.co.u...e-use-code-tags-when-posting-vba-code.240420/
Please feel free to Remove this Comment
need help
i have a form a need to go to record upon double click in list,
i tried below code but not going to record
as the record is combobox.
Code:
On Error GoTo errhandler:
n = 1 / 0 ' cause an error
'Move to the record selected in the control
With Me.[Combine Query].Form.RecordsetClone
.FindFirst "[Combo88] = '" & Me.List104.Value & "'"
If .NoMatch Then
MsgBox "No Record Found!"
Else
Me.[Combine Query].Form.Bookmark = .Bookmark
End If
End With
Exit Sub
errhandler:
' error handling code
Resume Next
Code Tags Added by UG
Please use Code Tags when posting VBA Code
Please read this for further information:-
https://www.access-programmers.co.u...e-use-code-tags-when-posting-vba-code.240420/
Please feel free to Remove this Comment
Last edited by a moderator: