>I have a statement that looks like this:
>
WITH myColumn
> .DYNAMICFORECOLOR='IIF(sortkey="A",clr_Black,'+STR(.BACKCOLOR)+')
>ENDWITH
>
>clr_Back is defined in a #DEFINE statement in a header file set in _INCLUDE and exists at the point of the reference to .DYNAMICBACKCOLOR ... what am I missing?
>
>Thanks
I would suspect the problem is not related to the .DynamicForeColor, but to the #DEFINE.
You can test this by giving any other command that involves the defined constant. For instance:
MessageBox(trans(clr_Black))
Check the include file for the class (Class | Include or so). Note that the _include variable will only affect classes created after you define this variable.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)