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

I have problem in report listener , extra data written to my form and corrupted 1

Status
Not open for further replies.

farzad321

Programmer
Sep 14, 2019
53
FR
Hi
I am beginner in report listener and when my report runs , some data like .f. and .t. and End of locate scope appear in front of my form. How can i remove that or any parameters exist for no comment in report listener. How can i make a clear report without any nowanted data ?
This reports run very good in report behavior 80 but in object mode i have a problem.
thank you for this platform and your good answers.
 
Are you saying you see some text appear when you run you report?
Try this before running your report.
Code:
SET TALK OFF



If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Besides, it's a well-known bug that was fixed. I think even with SP1 already. If you have installed VFP9 and didn't apply any service pack yet, you have a few bugs.
Just look into some of the latest posts and you find advice about applying service packs and the latest hotfix.

Bye, Olaf.



Olaf Doschke Software Engineering
 
Keep in mind too that SET TALK is scoped to the data session. You might have SET TALK OFF at the start of your main program, but it could still be set to ON in subsidiary forms. Try setting it OFF in the Load event of the form that calls the report.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
thank you for your answer ;

I have latest version of vfp9 ( 7423 ) and regulary i used (SET TALK OFF COMMAND) but in report behavior 90 mode, Dont change anything , finally i discovered that ( SET CONS OFF ) befor report command line can hide the extra unwanted data ! . I know that this is not good idea , but solve my problem and must insert befor all report commands.
 
I don't setting CONSOLE to OFF does any harm in an executable programme, although it could interfere with some actions in the development environment. With that in mind, you could SET CONSOLE OFF at the start of your main program, and set it ON again in your closedown routine.

Alternatively, if you decide to set it OFF just before each report, it might be a good idea to set it back ON immediately after the report.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top