Option to display/not display image in report

AnTa

New member
Local time
Yesterday, 20:26
Joined
Sep 27, 2018
Messages
5
Hi all,

I want to print a report (it's actually a label), in which it has 9 images (pictograms). But not all records must shows all 9. (For example, one record shows image 1,4,6 and another shows 1,2,5,6,7).

Can I put all 9 images in the report and have a condition to show which image I want (maybe through 9 Yes/No fields)?

Hope you understand my question, thank you :)
 
you can do that of course.
one suggestion is to make the report dynamic so as there are no "gaps" between images.
by making the report bound and the Image Control unbound.
on the Detail's Format Event, you loop through each Yes/No field and fill each image control with only those set to Yes.
 
you can do that of course.
one suggestion is to make the report dynamic so as there are no "gaps" between images.
by making the report bound and the Image Control unbound.
on the Detail's Format Event, you loop through each Yes/No field and fill each image control with only those set to Yes.

Thanks arnelgp but I don't quite get your solution. (sorry but I'm very new)

Let me explain a bit..I want to embed 9 images in the report. Also I add 9 fields to the report. These 9 images link to the 9 fields (Yes/No type). I don't know how to link btw

What I want is that the report will only display the image whose its linked field's value is Yes. (The values of the fields are determined in another form already)
 
Last edited:

Users who are viewing this thread

Back
Top Bottom