Hi, Sergey
You made me think then. AP_FACTOR should be CENZNFLD.AP_FACTOR - it's another field from CENZNFLD. And of course it's outside the scan loop. So I tried that and i get the grid ALL white on blue, not just the criteria recs. I had also tried TRANS(), before this, but got the same all blue, as indeed the square brackets result.
Any other ideas?
Cheers
Terry
>Terry,
>
>What's AP_FACTOR factor? If it's #DEFINE constant than it'll not be evaluated in the string literal enclosed in the single or double quotes. Use square brackets to get it evaluated.
.SetAll( "DynamicBackColor", [IIF( AP_FACTOR > 0, RGB( 0, 0, 255), RGB( 255, 255, 255))], "Column")
>
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.