I'm writing a report that will select one of several OLE images from a specified folder, using a file name entered using a parameter. That much works fine.
If I enter a file name that does not exist, I get the image of a little black square, but no other indication that there is a problem. This means that a live report that was given a bad or out-of-date parameter would waste time printing unusable letters on pre-printed stationary. Is there a way to pick up and report the error instead?
Note that I plan to have the signature as a subreport within each letter, but mostly using just the one signature, so if it fails once it would be best to stop the entre report. Or I might do it just once and pass back the file path. In either case, it would be good to know about a non-existent file.
Is there a method? Please let me know.
Madawc Williams (East Anglia, UK). Using Crystal 2008 with SQL and Windows XP
If I enter a file name that does not exist, I get the image of a little black square, but no other indication that there is a problem. This means that a live report that was given a bad or out-of-date parameter would waste time printing unusable letters on pre-printed stationary. Is there a way to pick up and report the error instead?
Note that I plan to have the signature as a subreport within each letter, but mostly using just the one signature, so if it fails once it would be best to stop the entre report. Or I might do it just once and pass back the file path. In either case, it would be good to know about a non-existent file.
Is there a method? Please let me know.
Madawc Williams (East Anglia, UK). Using Crystal 2008 with SQL and Windows XP