Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report not found in Main.EXE
Message
From
29/08/2013 17:36:56
 
 
To
29/08/2013 17:31:41
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01581677
Message ID:
01581700
Views:
50
>Don't use macros unless absolutely necessary. If lc_printsel contains blanks, your code will break. Use name expressions instead. In this case you should replace &lc_printersel with (lc_printersel).
>
>>An application deployed at customer's site throws an "Invalid Path or Filename" error when attempting to preview or print a report. Except that report was compiled into the EXE. Other customers are not reporting the same error. The line of code is:
>>
>>REPORT FORM (lc_reportname) to printer &lc_printersel. preview noconsole ; && GreyHawk - 20080701 - add printer selection for preview
>> WINDOW (Lo_RepForm.NAME)
>>
>>Where lc_printersel contains 'prompt' (or empty, depending on customer settings).
>>
>>Chris.

I inherited the application and correcting the (ab)use of macros is on my hit list. I'll look into the space thing though.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform