Hi!
It is better to set grid's caption programmatically. This.Grid1.Column3.Header1.Caption = IIF(BETWEEN(O_ord_pay.op_flag_1,8,9),"JV #","Invoice")
View's caption could not be expression.
>I am using my view in a grid. I want to set the view caption in view fields property as follows:
>
>
>IIF(BETWEEN(O_ord_pay.op_flag_1,8,9),"JV #","Invoice")
>
>When I display my grid, the caption reads as
>
>IIF(BETWEEN(O_ord_pay.op_flag_1,8,9),"JV #","Invoice")
>
>instead of either JV # or Invoice. I'm I doing something wrong here?
>
>Thanks
>Nick Patel
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.