Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing Image Files Causes Open File Dialog when printin
Message
 
 
To
08/12/2002 15:00:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00730744
Message ID:
00730749
Views:
10
You can create function that checks for file existence and returns "blank.bmp" if it's not found.
FUNCTION mypict(lcPict)
RETURN IIF(File(lcPict), lcPict, "blank.bmp")	
Call this functon from the Picture control File field
mypict("mylogo01.bmp")
>Hi,
>When I print I report it's posisble that one og the logos for example
>are not found. When this happens the report fires up the open dialog.
>Is there anyway I can stop this from happening and place for example a
>default picture (blank.bmp) in it's place?
>Or do I have to hack the frx and check if each file exists?
>
>BR
>Tim
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform