B
bhipwell via AccessMonster.com
I have a button function by which users can click to make sure they have
filled all the necessary fields. I want the code to run and turn the back
color to red. Here is my code...
If Len(Nz(Me.Field,"")=0) Then
Me.Field.backcolor = 1777215
End if
The issue is that it is not recognizing that the field is visibly blank
(understanding there may be a zero string).
I have tried the Len(Trim(Nz to no avail as well as IsNull. Any ideas?
BH
filled all the necessary fields. I want the code to run and turn the back
color to red. Here is my code...
If Len(Nz(Me.Field,"")=0) Then
Me.Field.backcolor = 1777215
End if
The issue is that it is not recognizing that the field is visibly blank
(understanding there may be a zero string).
I have tried the Len(Trim(Nz to no avail as well as IsNull. Any ideas?
BH