Newie Question (or am I nuts)

G

Guest

Try:
if isnull(fmintrodate.text) = true then...


Erin
-----Original Message-----
I am a long time C user (20+ years), but only recently to VB.

I have some code in Access:

if fmIntroDate = Null Then
fmIntroDate = Date
End If
fmIntroDate is formatted as Date.

In the debugger, the middle line is skipped, even though
it shows that fmIntroDate IS Null. I have also
used .Value and .Text after fmIntroDate, with no errors,
but same results.
I have also used IntroDate (which the control
fmIntroDate is bound to), same different ways, same
results.
Does VB hate me because of all my years in C/C++/VC++ or
is there something wrong with my code?
 

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