I still do not understand your setup. Is the field you describe as
containing the value "like 50" part of the recordset bound to the form
where you want to apply CF? Or is it on a seperate form that will always
be open when you app is running?
I'll guess the field is not part of the recordset of the form containing
the control you want to apply CF to. In that case you can have a
function evaluated by CF by placing the function's name in the CF's
"Expression is" TextBox control.
OFTOMH
See my Web site for CF code samples)
For Example, Open the CF GUI:
Condition1
Expression is fSomething()
And then setup the control's exposed CF available props in the desired
manner.
Write a seperate Function in a standard Code module. Something like:
Public Function fSomething() as Boolean
If Forms!THeOpenFormsName.NameOfTextBoxControlContaingDesiredValue.Value
fSomething = TRUE
Else
fSomething = FALSE
End if
End Function
So you can see if the function returns TRUE then CF is applied else if
the function returns FALSE then CF is not applied to this row.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.