Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check boxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00390246
Message ID:
00390319
Vues:
9
>>>>>>>Maybe I'm missing the obvious, but cannot check boxes be displayed on a report form?
>>>>>>
>>>>>>Bill Caton sent me this one day and should work for a report.
>>>>>>
>>>>>>set the report field font to "Wingdings" and in the code behind the field:
>>>>>>
>>>>>>IIF(myLogicalField, CHR(252), "")
>>>>>>
>>>>>>which gives a check mark when true and blank when false.
>>>>>
>>>>>I tried this and the character for wingding of a checkmark is ALT + 252. I can enter the following in the field IIF(lfinished, CHR(252), "") and it works, but I cant figure out how to show the ALT 252 If someone knows how to do this them the report will print a checkmark when run.
>>>>
>>>>Hi Bret,
>>>>
>>>>I don't quite follow the last part of your question. I've used this method on reports and it seems to work ok. Therefore, I don't think I understand your last statement.
>>>>
>>>>Bill
>>>
>>>I Bill I can get the report to show the wingding character for 252 (CHR(252), but the 'checkmark' character in my character map shows the keystrokes to be ALT 0252. So how do I incorporate the entry of the ALT in the IIF expression?
>>
>>I've always just used a field on the report with the field font name set to "Windings" and the IIF(...) returning the Wingding check mark character, i.e. CHR(252) . I've not had to mess with ALT. Am I missing something here?
>
>

>ALT 0252 means that you can get that character in Word or Execel by holding ALT key and pressing 0252. ASCII code is 252.

Well I guess I must be missing something, because the character displayed is not a wingding checkmark, but an arrow that points to the right with a black background. Maybe someones knows what I am doing wrong....
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform