G
Guest
Good Morning,
I am having trouble with the '.selected' function in VB, I don't think i'm
using it right.
I want a message to be displayed, after a command button has been clicked,
if any row in a list box hasn't been selected. I'm not sure how to set it up
properly, i am currently using this:
Where 'Care_Points' is the list box
If (Me.Care_Points.Selected(X) = False) Then
MsgBox "Click on Care Point.", vbInformation + vbOKOnly, _
"Select Care Point"
End
End If
Thanx in advance
I am having trouble with the '.selected' function in VB, I don't think i'm
using it right.
I want a message to be displayed, after a command button has been clicked,
if any row in a list box hasn't been selected. I'm not sure how to set it up
properly, i am currently using this:
Where 'Care_Points' is the list box
If (Me.Care_Points.Selected(X) = False) Then
MsgBox "Click on Care Point.", vbInformation + vbOKOnly, _
"Select Care Point"
End
End If
Thanx in advance