Information générale
Catégorie:
Visual FoxPro Beta
This has nothing to do with the report. Have you tried the same approach on a form? Unless your refresh or record changing code re-loads the image control, you will not see the image change just because you move to another record in the table.
IOW: PictureVal is not a controlsource for the Image control. The image is not "bound" to the PictureVal property of the field.
All you've done is load the control using the contents of the first field. If you expect the image to change its contents when you move from one record to the next, you have to reload the image.
If you're using the image in a report, you can do this in the OnEntry for the band, or you can do it in an event in a ReportListener. It works well to do it in a ReportListener if the images are going to change sizes. And, no, I don't have time to write an example for you here <s>.
>L<
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement