jamaarneen
Programmer
Hi
i would like to apply conditional formatting, in a continious form - for each record.
[the conditional formatting from the format toolbar, will give ALL the records the same format, according to the conditions of the first record. so we have to do it in VBA.]
I have succeed to make it work (in another form), as long the condition was "if Field Value is, Operator, value":
Code:
... .FormatConditions.Add(acFieldValue, acGreaterThan, "1000")
but now I want to make the condition based on another control. so it would have to be some thing like:
Code:
... .FormatConditions.Add(acExpression, [i]OtherControlOrField[/i] = 1)
but I'm getting een error 2439: "the expression you entered has a function containnig the wrong number of arguments".
So I'm confused, how do I have to enter an additional argument, if my condition is: "expression is" (not "field value is")?
Thanks for your help, Ja