Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer
Message
From
05/11/2002 01:22:18
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00718706
Message ID:
00718820
Views:
13
>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 ??
With set printer you can set only real printers , shown by getprinter command
Look report form command options TO FILE FileName2 [ASCII]]
to redirect report into file
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Previous
Reply
Map
View

Click here to load this message in the networking platform