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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report colors

Status
Not open for further replies.

tondi

Technical User
Nov 29, 2001
115
US
We use the following code to view report data on the screen.
The problem is certain words (report, for, to, day) in the report which happen to be syntax words appear in color. I can eliminate color when running from command window but when I compile and run it on user's computer colors reappear. Any suggestions on how to eliminate the color for end user?

SET SAFETY OFF
DELETE FILE tips.txt
REPORT FORM tips TO FILE tips.txt NOCONSOLE ASCII
DEFINE WINDOW wTips FROM 4,15 TO 45,105 TITLE "PRESS ESC TO EXIT"
ACTIVATE WINDOW wTips
MODIFY COMMAND tips.txt NOEDIT NOMENU;
WINDOW wTips RANGE 1,1
SET SAFETY ON
DEACTIVATE WINDOW wTips

 
Thanks Tamar,
I'll try that
Tony
 
Can't tell if it worked. When I run the program
after the suggested change it just blinks and goes away.
Tony
 
Thanks Tamar,
The change did not work for me. When I step thru with Debug the window appears but without data.
Tony
 

"the window appears but without data"

It might be happening because your program cannot find the file in question (tips.txt). Try to specify the full path.
 
Thanks Tamar,
I did try that but no luck.
We resolved the issue by creating and using a memo file.
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top