Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chekbox image in Report
Message
De
25/06/2003 22:15:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/06/2003 22:10:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00804074
Message ID:
00804075
Vues:
39
>Hi all,
>
>I have a field that have value '0' or '1', what i want to do in report is, if '0' a blank checkbox image, if '1' a cross checkbox image.
>
>Thank's,
>
>João Batista

One way to do it is to import your images into general fields, in the cursor for the report. (I don't recommend general fields for permanent storage; this is for temporary use only.)

Perhaps you can also use some expression with iif(), but I don't know whether it is possible at all. Otherwise, if I remember correctly, you can specify the fieldname in the "filename" for the image. For this purpuse, you could include an additional field in your report cursor, and include the filename of your respective images, for instance, "checked.gif" or "unchecked.gif".

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform