SQL NULL

D

DS

I have a Date field. If its blank and I have the syntax # " &
Forms!frmOne!TxtDate & " #
I get an ERROR

But

If I do This ""# " & Forms!frmOne!TxtDate & " #""
it works.

My question is. Is it really working or is this going to come back and bite
me later? Or should I use...

If(IsNull(Forms!frmOne!TxtDate),"",Forms!frmOne!TxtDate)

Thanks
DS
 

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