Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caption in view field property
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00654222
Message ID:
00654353
Views:
18
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.com
ICQ #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.
Previous
Reply
Map
View

Click here to load this message in the networking platform