Hello I have an image in the top lefcorner of my report. In a "settings" table I have a column that contain a path to an alternative image.
THIS IS THE CODE THAT SHOWS THE IMAGE:
---------------------------------------
Dim strGetPath
strGetPath = DLookup("path", "tblSettings", "tal=1"
If (strGetPath <> " "
Then
logo.Picture = strGetPath
End If
If a path excist that image is shown, otherwise the default image. The problem is if the path is invalid I get an error message. How do I get rid of it and displays the alternative image instead.
- Tom
THIS IS THE CODE THAT SHOWS THE IMAGE:
---------------------------------------
Dim strGetPath
strGetPath = DLookup("path", "tblSettings", "tal=1"
If (strGetPath <> " "
logo.Picture = strGetPath
End If
If a path excist that image is shown, otherwise the default image. The problem is if the path is invalid I get an error message. How do I get rid of it and displays the alternative image instead.
- Tom