PRB: SET PRINTER TO Does Not Create File in VFP for Macintosh (155938)
The information in this article applies to:
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q155938 SYMPTOMS
Using triple question marks with the SET PRINTER TO <filename> command
does not create a file in Visual FoxPro 3.0b for Macintosh.
WORKAROUND
Use one of the following methods to print to a file. The two examples below
create text files that contain both phrases on one line. The first uses the
double question marks and the SET PRINTER TO command. The following code
example demonstrates this concept:
SET PRINTER TO Test.txt
SET PRINTER ON
?? 'Hello world'
?? 'This is a test'
SET PRINTER TO
SET PRINTER OFF
Also, the SET ALTERNATE command produces a text file. The following code
creates a file using the SET ALTERNATE command:
SET ALTERNATE TO Test.txt
SET ALTERNATE ON
?? 'Hello'
?? 'This is a test'
SET ALTERNATE OFF
SET ALTERNATE TO
According to the Visual FoxPro Help file, the SET ALTERNATE command
functions only with single and double question marks, and the DISPLAY and
LIST commands.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 12/14/1999 |
---|
Keywords: | KB155938 |
---|
|