debbie1212
Programmer
If someone does not make a selection in the dropdown menu box, it is considered blank. Therefore it should pass "NULL" to the database.
However when I do the following code it returns an error message that says "Invalid use of Null".
If Len(Trim$(txtSentence.Text)) = 0 And icboTime.SelectedItem.Index = 1 Then
sSentence = Null
Anyone know why?
Thanks,
Debbie
However when I do the following code it returns an error message that says "Invalid use of Null".
If Len(Trim$(txtSentence.Text)) = 0 And icboTime.SelectedItem.Index = 1 Then
sSentence = Null
Anyone know why?
Thanks,
Debbie