hollarindy
Registered User.
- Local time
- Today, 09:17
- Joined
- Nov 16, 2012
- Messages
- 33
I need a little help with some list boxes. The VBA I am using is supposed to display information from a query when you double click an entry. A form is supposed to pop up and let you edit the table the data originates in. The code for List20 works but the code for List6 pulls up a blank form.
Option Compare Database
Private Sub List6_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmCombined", acNormal, , "[ID] = " & Me.List6
End Sub
Private Sub List20_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmFollowUp", acNormal, , "[ID] = " & Me.List20
End Sub
Option Compare Database
Private Sub List6_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmCombined", acNormal, , "[ID] = " & Me.List6
End Sub
Private Sub List20_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmFollowUp", acNormal, , "[ID] = " & Me.List20
End Sub