Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Check mark
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00841781
Message ID:
00841811
Views:
16
>I have 2 different cases where I need to print a check mark on a VFX report:
>
>1. From a check box: if .T. print a Check mark, if .F. print an 'X'
>
>2. From a text box: IF 'A' (for Accept) print a check mark, IF 'R'(for reject) print an 'X' and IF nothing print nothing.
>
>How would I go about this?
>
>Thank you very much.

First, you have to choose a font that has the check mark characters you want to print (and any other characters you need).

Second, use an expression for the value:

IIF(logicalfield,CHR(??),"X")

IIF(field="A",CHR(??),IIF(field="R","X",SPACE(1)))
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform