Trying to find an empty date field

  • Thread starter Afrosheen via AccessMonster.com
  • Start date
A

Afrosheen via AccessMonster.com

Thanks for reading this. The code may be wrong. Here's my code:

strWhere = "tblTaps.WorkRec=isnull" & _
" and tbltaps.WorkPlan=""" & Me.Combo149 & _
""" and tblTaps.archive=false" & _
" AND tblMain.Supervisor=""" & Me.cboloc & """"

I'm trying to have it where it check to see if WorkRec [date field] is empty.
The rest of the code seems to be working. When I do a debug.print this is
what it gives me.

tblTaps.WorkRec=null and tbltaps.WorkPlan="January" and tblTaps.archive=false
AND tblMain.Supervisor="BOYKIN, DENNIS".

I know in the query there are no date fields filled in so it should show
something I would think.

Thanks
 
B

bhicks11 via AccessMonster.com

where(((tblTaps.WorkRec) is null))

Bonnie
http://www.dataplus-svc.com
Thanks for reading this. The code may be wrong. Here's my code:

strWhere = "tblTaps.WorkRec=isnull" & _
" and tbltaps.WorkPlan=""" & Me.Combo149 & _
""" and tblTaps.archive=false" & _
" AND tblMain.Supervisor=""" & Me.cboloc & """"

I'm trying to have it where it check to see if WorkRec [date field] is empty.
The rest of the code seems to be working. When I do a debug.print this is
what it gives me.

tblTaps.WorkRec=null and tbltaps.WorkPlan="January" and tblTaps.archive=false
AND tblMain.Supervisor="BOYKIN, DENNIS".

I know in the query there are no date fields filled in so it should show
something I would think.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top