K
Keith G Hicks
I have this code in the form's OnCurrent event handler:
Dim cf As FormatCondition
Set cf = Me.FolderDesc.FormatConditions.Add(acFieldValue, acEqual,
"Covers")
cf.BackColor = vbBlue
The form is set to datasheet.
When I run it, nothing happens. The form shows as if I didn't have any
conditional formatting. When I set it up in property settings it works
fine. Not sure what I'm doing wrong in code. I need 4 conditions. The
property settiings looks like you can only have up to 3 conditions. Can I do
more in code or am I still limited to 3?
Please don' t point me to Lebans site. I'm looking for a specifica anser in
this NG.
Thanks,
Keith
Dim cf As FormatCondition
Set cf = Me.FolderDesc.FormatConditions.Add(acFieldValue, acEqual,
"Covers")
cf.BackColor = vbBlue
The form is set to datasheet.
When I run it, nothing happens. The form shows as if I didn't have any
conditional formatting. When I set it up in property settings it works
fine. Not sure what I'm doing wrong in code. I need 4 conditions. The
property settiings looks like you can only have up to 3 conditions. Can I do
more in code or am I still limited to 3?
Please don' t point me to Lebans site. I'm looking for a specifica anser in
this NG.
Thanks,
Keith