Ah. Yes, of course. Hadn't thought of that.
Although, I still will opt for using the native "Print When True" report function. I'll change it to be:
!empty(table.field) AND File(Alltrim(Table.Field))
The problem with what John suggests is that you run into an IIF() nightmare if someone deletes the dummy image (or the subsequent chain of dummy images built into even more complex IIF() statements to take care of that eventuality).
Thanks for the heads-up Steve.
Alan
>Denis & Alan,
>
>See
JPGs in a VFP 6 Report FAQ #7862. It's important to use a blank .jpg (or a stub .jpg indicating "No Picture") for all records where there is no picture.
>
>>
>>I thought about that, but it just seems like unnecessary clutter and an added complication - especially since the "Print When True" handles it so nicely on its own.
>>
>>Alan