T
Terry
I have a field for the filename of an image & in the OnFormat event of the
Detail section have a line like:
imgPhoto.Picture = PhotoFile
where imgPhoto is an Image box on the report and Photofile is a text field
in the source table.
This works provided that Photofile is not null.
Setting the .Picture to null raises an error while making it an empty string
leaves the image from the previous record. How do you blank the image box
when the path is null?
Terry
Detail section have a line like:
imgPhoto.Picture = PhotoFile
where imgPhoto is an Image box on the report and Photofile is a text field
in the source table.
This works provided that Photofile is not null.
Setting the .Picture to null raises an error while making it an empty string
leaves the image from the previous record. How do you blank the image box
when the path is null?
Terry