Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Console Off Question

Status
Not open for further replies.

Serincino

Programmer
Jun 13, 2003
61
US
In my code I am printing to a file:
set printer to file temp\invoices.txt
set printer on
set console off

problem is that the text getting printed using ? still prints on the form that is active.
I am trying to supress this when the set printer on is used, but the text still prints on the form. Does anyone have an idea how to stop this? I've used the noconsole at the end of the commands and it still prints. I'm using VFP 8.0. Please Help.

-Serincino

If you see a programmer in the office before 9am, they probably never left.
 
Unfortunately even with everything you all gave me I'm my prints are still showing up on the screen. Is anyone else trying to do this and not having the print show up on the form? The prints are going into the text file, but they are showing up in the form as well. I hope someone has an answer to this.

-Serincino

PS. thanks for everyone that has responded so far.

If you see a programmer in the office before 9am, they probably never left.
 
ok, so now it seems to work, if I just run the program straight with the mods you kind people suggested it prints works fine, it's when I'm in debug mode that the test starts popping on the form, even with all the settings, could this just be a bug with VFP 8.0? I wish Microsoft would get off their tails and start some service packs for this version.

-Serincino

If you see a programmer in the office before 9am, they probably never left.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top