icemonster
Registered User.
- Local time
- Today, 13:38
- Joined
- Jan 30, 2010
- Messages
- 502
hi.
what's the best way to open a form using a listbox? but thing is, i need it to open when the column 0 is null, it will open or filter the record using column 1?
i tried this but is not working.
what's the best way to open a form using a listbox? but thing is, i need it to open when the column 0 is null, it will open or filter the record using column 1?
i tried this but is not working.
Code:
Private Sub lst3month_DblClick(Cancel As Integer)
If IsNull(Me.lst3month.Column(0)) Then
DoCmd.OpenForm "frmReviewDetails3MONTHS", , , "EMPLOYEEID = " & Me.lst3month.Column(7)
Else
DoCmd.OpenForm "frmReviewDetails3MONTHS", , , "EMPLOYEEREVIEWID = " & Me.lst3month.Column(0)
End If
End Sub