>Once, a very long time ago, I learned the elements of the FoxPro+ language for DOS. And I wrote a programme to store addresses, sort them and write the selected addresses in a format for 3x8 labels to a file (I never printed directly from FoxPro+). It was not a very elegant programme but it worked fine and I still rely on the corresponding DBF-table for my 1000plus addresses.
>Now I have a choice. I can either learn the Visual FoxPro 7.0 language (I own the programme). This will take quite some time. Or I find somebody who can tell me what to write instead of "set device to print" when I want to write a file to disk. Perhaps it is easy, perhaps it is not and I will have to do it the hard way.
You might get away with this
Try:
set printer to c:\test.txt
set printer on
for i=1 to 10
? 'Line' + allt(str(i))
next
set printer off
set printer to
Will write test.txt without any problem
Now with littlebit of modifications to yr source code u might get it to
work under VFP.
Hope this help :)