Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing Image Files Causes Open File Dialog when printin
Message
 
 
To
09/12/2002 04:29:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00730744
Message ID:
00730836
Views:
13
You're welcome.

>Actually We do just that, but often people forget and place the logos directly on the report. There is no way for me to garantee that all the reports out there actually exclusively use this function this will stall the print server we designed if the open file dialog has to come up (also possible the server can't see the picture if they've attached it from a weird location.)
>
>Perhaps an idea could be to hack the report and replace any picture not using this function to one using this function.
>
>Thanks for the idea.
>
>
>>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")
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform