You are not logged in.

fomaxrge

Trainee

  • "fomaxrge" started this thread

Posts: 88

Date of registration: Aug 14th 2012

  • Send private message

1

Wednesday, October 24th 2012, 5:25pm

check if no results found on mysql quey

Good afternoon !

Does anybody know why this does not work on me?

If (Data.wasNull()) Then
MsgBox "NULL"
Else
MsgBox "not NULL"
End If

i want to check if msql query is nothing because when i tried to compare with NULL OR "" nothing happened.
*****when it finds a record it appears not NULL but when it does not find any record it does not appears the
MsgBox "NULL" *******

Thanks in advanced

Rate this thread
WoltLab Burning Board