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

Advice on error handling

Status
Not open for further replies.

AlastairP

Technical User
Feb 8, 2011
286
AU
I am debugging my first app on the server at work.
When I get a minor error, TALK activates and I see this on the active form. If I close that from, the talk is then visible on the next form.
Is there a way to stop this and reset the talk option?

 
I have a picture of the problem:

 
mmm,
try again with the picture
can't seem to get the image onto the post, I will post the link in a code snippit instead

Code:
 [URL unfurl="true"]http://www.mediafire.com/?t54esc9sx091x3c[/URL]
 
That looks like TALK output. In the Debugger's Watch window, put:

SET("TALK")

After you start the app, put a breakpoint on that value by double-clicking in the margin next to it. Run the process that's giving you the problem and find out when TALK is getting turned on.

Tamar
 
A good idea from Tamar to trap the code setting TALK ON.

Yes that output "Selected ... records in 0.00 seconds" surely comes from TALK and is written on the active form if the STATUS BAR is OFF.

Your error handler does not SET TALK ON again, so this must be done somewhere else, eg before the error occurs, eg in another error handler you set to somewhere or a component you use. It may also be done in the error method of the object erroring.

You might also set a breakpoint on change of ON("ERROR").

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top