Hi, I have a list and when users select from the list, it give them the result. Currently I have the following code when the result is a popup in another form but I would like it to popup in the same form where the list box is located. Can someone help me and what am I doing wrong. Thanks.
Private Sub lstEvents_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
Dim varitm As Variant
stDocName = "frmEventLists"
For Each varitm In lstEvents.ItemsSelected
stLinkCriteria = "[Event Name]=" & "'" & lstEvents.ItemData(varitm) _
& "' or " & stLinkCriteria