IF combobox is empty THEN…

S

Seth

Hi,
If am trying to display a message if a n unbound combobox is empty. But am
having trouble detecting that it is empty. Below is my code that dose not
work.

If cboReportType = "" Then
MsgBox "You did not specify a report type."
Else


Thanks for any help.
Seth
 
T

tina

try

If IsNull(Me!cboReportType) Then
MsgBox "You did not specify a report type."
Else

hth
 
Top