Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check box in the report
Message
 
 
To
30/10/2018 11:08:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01662935
Message ID:
01662945
Views:
32
>>>>>>I have an old report that shows a checked box (if a certain field has value True). When I open this report in the VFP Report Designer, the textbox (used for this control) has expression:
>>>>>>
>>>>>>iif( Passed, "p", "")
>>>>>>
>>>>>>
>>>>>>The value of "p" above is actually some high or low ASCII character but it kind of looks like "p" or "b". What CHR() should I replace it with to make sure that I can edit it later?
>>>>>>
>>>>>>TIA
>>>>>
>>>>>Some fonts have checkboxes, for instance "Wingdings 2" where chr(81) is crossed, chr(82) is checked and chr(163) is unchecked.
>
>You can use the solution above, with the "Wingdings 2" font.
>
>>I think you are right. Even when I replace the "p" with CHR(254), I see this characters in the report, at run time.
>>
>>How do I make the Check Box symbol appear in the report instead of the character "p"?
>
>Or, you can use two bitmaps which are printed when the condition is true or false (true for the checkbox being checked, false for when the checkbox should be cleared).

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform