×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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.

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

Are you saying you see some text appear when you run you report?
Try this before running your report.

CODE --> foxpro

SET TALK OFF 



If you want to get the best response to a question, please check out FAQ184-2483: How to get the best response from the forum first.

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

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
https://www.doschke.name

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

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

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

(OP)
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.

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

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close