Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check box in the report
Message
 
 
To
30/10/2018 10:55:57
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01662935
Message ID:
01662941
Views:
35
>>>>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.
>>
>>I think at the time when I was creating the report I wanted this check box to be font-independent. And I used chr(254).
>>Thank you.
>
>Well, unfortunately it's not. With Courier New it's something like a b. You can try @1,1 say Chr(254) font "courier new"

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"?
"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
Next
Reply
Map
View

Click here to load this message in the networking platform