Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filetostr + strtofile
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01339125
Message ID:
01339134
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>I am trying something as:
>
>SET DEVICE TO file STRTOFILE ("toPrint")

STRTOFILE accepts 2 parameters. I don't think the second parameter is optional.

You're still creating a file, just don't create a name.
strtofile('toPrint',"c:/myFile.txt")

lcFile = "c:/myFile.txt"
set device to (m.lcFile)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform