Re: Does the PRINT command simply not work?
- From: "Bill Bach" <goldstar@xxxxxxxxxxxxx>
- Date: Thu, 15 Sep 2005 22:02:29 -0500
Fardreamer wrote:
> Update: So, I went to the database server and logged in as an
> administrator. What do I see? 3 message boxes with the title "SSP
> PrintVal" showing the three messages I tried to PRINT from my stored
> procedure! What kind of weird behavior is that? Is there any way to
> disable it?
This is actually documented behavior -- and mainly useless for
developers. The PRINT function seems to have been solely implemented
to enable debugging, and was designed for the local engine. When you
issue the PRINT command, the dialog box does indeed show up whereever
the engine is located (on the server for a client/server engine).
Want one better? Your procedures did not hang -- they were awaiting
the completion of the PRINT command. If you had simply gone to the
server and clicked OK on the dialog box, it would have proceeded and
terminated normally.
In short, use PRINT **ONLY** for debugging your procs. If you must
return some message, consider building an entry in a Log File somewhere
and having the user view that periodically.
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach@xxxxxxxxxxxxxxxxxxxx
http://www.goldstarsoftware.com
*** Chicago: Pervasive.SQL Service & Support - November, 2005 ***
*** Chicago: Pervasive DataExchange Class - November, 2005 ***
.
- Follow-Ups:
- Re: Does the PRINT command simply not work?
- From: Fardreamer
- Re: Does the PRINT command simply not work?
- References:
- Does the PRINT command simply not work?
- From: Fardreamer
- Re: Does the PRINT command simply not work?
- From: Fardreamer
- Re: Does the PRINT command simply not work?
- From: Fardreamer
- Does the PRINT command simply not work?
- Prev by Date: Re: Does the PRINT command simply not work?
- Next by Date: Re: Table health check in 2000i?
- Previous by thread: Re: Does the PRINT command simply not work?
- Next by thread: Re: Does the PRINT command simply not work?
- Index(es):
Relevant Pages
|
|