Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Check mark
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00841781
Message ID:
00841811
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform