Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If statement execution

Status
Not open for further replies.

swykpisz

Programmer
Jul 20, 2004
6
US
What would the code be if I wanted to execute a condition if a query was null? I have something like
If "qryData" = Null Then
Msgbox "No Data"
Else
Msgbox "There is Data"
End if

The part I'm confused at is what command do I use to check if query qryData is Null?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top