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

Status Line during reporting VFP 6

Status
Not open for further replies.

webmonger

Programmer
Mar 13, 2004
66
AU
I am using the status line for messages but I am unable to stop the table count info during a report - is this possible.
I have SET MESSAGE TO everywhere.

Thanks
 
Hi

In the reports dataenvironment->Init put that code.

Open the Report in Report designer
RightClick mouse
Choose DataEnvironment
DOUBLECLICK on plain area
In the Title band.. pulldown Procedure combo and choose Init

Put the SET TALLK OFF etc.. SET commands in that place.

I suggest.. make a PROCEDURE OF all SET commands as mySets at the end of your main.prg. Then.. in the init events, you can simply add
DO mySets

:)



____________________________________________
ramani - (Subramanian.G) :)
 
Ramani

I have tried putting set talk off etc in just about every method for the report but I STILL get the database report in the status line.

I have also put them everywhere around the reporting code to no avail.

Any other suggestions?

 


SET STATUS BAR OFF?

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thanks Mike

But it still shows up.. I am perplexed by this. But maybe I didn't say that it is during the Print Preview screen that it shows. When I return to my program it is under message control.

Code:
	REPORT form ('catalogue.frx');
				noconsole to printer prompt preview
			SET MESSAGE TO

Maybe it cannot be stopped?
 
webmonger

Try using "SET MESSAGE TO" in the init of the dataenvironment of the report.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
HI
Some of the SET command are scoped to the current data session. SO in each data session, we have to specify the commands.

SO create your own SetEnviron procedure at the end of your main.prg and in all the datasessions, make a call to this routine as
DO SetEnviron

SET TALK OFF
etc session specific SET commands.
As Mike suggested, Init of Dataenvironment is a place to include this.
:)

____________________________________________
ramani - (Subramanian.G) :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top