Posted by Joel on 10/13/26 11:25
Hi,
I added a field to my company table (PBV_rstCompany.Fields("Installer")) the
default value of the field is Null. I place this If statement and it doesn't
work
If PBV_rstCompany.Fields("Installer") <> "Y" Then
txtInstaller.Visible = False
lblInstallerLBL.Visible = False
cmdNextInstaller.Visible = False
cmdPrevInstaller.Visible = False
End If
It assumes the statement is false when in fact it's true... Null in not
equal "Y"!
Navigation:
[Reply to this message]
|