johnkrytus
Registered User.
- Local time
- Today, 14:44
- Joined
- Mar 7, 2013
- Messages
- 91
Is there a way to call Events from multiple controls at the same time (assuming the action is the same)?
Code:
Private Function OpenPeopleNavigator() As String '--Open the People_Edit popup in the Company Contacts View Page
Dim stDocName As String, stlinkCriteria As String
stlinkCriteria = "[EmployeeID]=" & Me![qry_people_not_merged.EmployeeID]
DoCmd.OpenForm "People_Enter", acNormal, , stlinkCriteria, acFormEdit
End Function
Private Sub ctrl_dates_DblClick(Cancel As Integer)
Call OpenPeopleNavigator
End Sub
Private Sub ctrl_email_DblClick(Cancel As Integer)
Call OpenPeopleNavigator
End Sub
Private Sub ctrl_notes_DblClick(Cancel As Integer)
Call OpenPeopleNavigator
End Sub
Private Sub ctrl_phone1_DblClick(Cancel As Integer)
Call OpenPeopleNavigator
End Sub
Last edited: