This should be simple, but I haven't been able to figure it out.
I have a multi select list box. I want to give the user an error message if they click a button and nothing is selected. this is what I have right now:
If IsNull(Me!lstPrevRpts) Then
MsgBox "No Previous Activity Has Been Selected"
Now I get the message box, but I get it even when items are selected. So that part about "If IsNull...." doesn't seem to be doing anything.
I am sure this is probably something simple that I just don't know how to do. I have tried several other ways of coding this, but nothing seems to be working for me.