Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I put check marks for logical fields on a repor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00406143
Message ID:
00406172
Vues:
27
>>Hi all,
>>
>>I have table with some logical fields. When I designed a report, I need to put a check mark (like V or X) for each logical field if its value would be true or leave there a blank in otherwise. I tried to use the Print When expression :
>>
>>IIF(mytable.myfield = .T., "V", " "),
>>
>>However, the output was only empty spaces at all. Can anybody here give me some ideas, codes to get this problem worked? Any suggestions would be great appreciated.
>>Thanks in advance.
>>
>>Pearl.
>
>I agree with what the others have said about putting the code in the expression. You can alos get a true check mark to print by doing the following:
>
>Set the report field font to "Wingdings" and in the code behind the field:
>
>IIF(mytable.myfield, CHR(252), "")
>
>Which gives a check mark when true and blank when false.

Hey ... where's my acknowledgement? :-) ROFL
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform