I've tried several variations of the following code I can't seem to get it to work.
dim jbox as ListBox
Set jbox = Forms!frmMain.lstFund '("lstFund")
I want jbox to be the listbox so that I can use the following line:
If InputFund = jbox.Selected(d) Then
IsDuplicate = True