Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Set printer
Miscellaneous
Thread ID:
00718706
Message ID:
00718706
Views:
45
The following code give error when used in code" path or filename not found"

public cbi_ptxt
store "c:\temp\"+sys(3) + ".txt" to cbi_ptxt
SET PRINTER to (cbi_ptxt)

I want to redirect a report form to a file. I will also be using the ADDITIVE keyword in my code to append additional reports.

When I type each line at the command prompt, there is no error displayed

This code worked perfectly good in FP25 DOS
VFP 7.0 don't seem to like it. Any Suggestions ??? workarounds ??
Next
Reply
Map
View

Click here to load this message in the networking platform