I did find this...
While not what EXACTLY what you looking for if the fields all start the same
way you might be able to adapt. Also note, the Label is actually a text box.
rtw 9.18.2006
Public Function ClearViolation()
Dim LabelNumber As Long
LabelNumber = 1
Dim Msg, Style, Title, Response, MyString
Msg = "Did you want to change this Violation?"
Style = vbYesNo + vbQuestion + vbDefaultButton2
Title = "Violation Type"
Response = MsgBox(Msg, Style, Title)
If Response = vbYes Then
MyString = "Yes"
Do Until LabelNumber = 9
Me("txt" & LabelNumber & "Label") = ""
Me("txt" & LabelNumber & "Label").Locked = False
Me("txt" & LabelNumber & "Label").BackColor = 13303807
LabelNumber = LabelNumber + 1
Loop
Else
MyString = "No"
End If
End Function
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index.htm
Gina Whipp said:
Use the "Expression Is", then you should be able to use IsNull([Tekst93])
and then select a backcolor.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index.htm
Jean-Paul said:
I can only set it to higher or lower or equal...
No isnull=true or false
or am I wrong?
JP