Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chekbox image in Report
Message
From
25/06/2003 22:15:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/06/2003 22:10:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00804074
Message ID:
00804075
Views:
37
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform