I tried this code and can't get it to work... for whatever reason I cannot seem to display an error message with the 'show error ____' command.
If I type Show error 639 I get the error message "Variable not found (563)" displayed as an error rather than the actual value of error message 639. What am I doing wrong?
Rbase 6.5++ windows
Dan
At 02:20 PM 5/18/2004, you wrote:
Kenny
Looks like you got one that is undefined. I would get a hold of RBTI about it..
Here's a code snippet to help in this area.. Albert Berry posted a good while back.
I modified it a little.
Jim
SET ERROR MESSAGES OFF SET NULL -0- OUTPUT SCREEN CLS SET VAR vtxt2write TEXT WRITE ' ' WRITE '...... Creating Message Table ... PLEASE WAIT' WHILE verrnum < 3200 THEN OUTPUT messages.$$$ SHOW ERROR verrnum OUTPUT SCREEN LOAD errmsgs FROM messages.$$$ AS FORMATTED USING errmsg 1 240 UPDATE errmsgs SET errnum = .verrnum WHERE COUNT = LAST SET VAR vtxt2write = 'Loaded error message ' + CTXT(.verrnum) + ' OF 3200.' WRITE .vtxt2write SET VAR verrnum = (.verrnum + 1) ENDWHILE CLS WRITE 'Finished .. Look at the errmsgs table for results' SET NULL ' ' SET ERROR MESSAGES ON SET MESSAGES ON RETURN
Kenny Camp wrote:
I trapped an error number 2227 in some 6.5 for Windows code and when I try to show the error message associated with it, I get nothing.
I've been trying to trap this error for months as it is a very rare occurrence.
Anybody know what this error is?
Kenny Camp IT Manager Electro Enterprises Oklahoma City, OK
Dan Champion
www.championsolutions.net
616-299-7420
--- RBASE-L ================================================ TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [EMAIL PROTECTED]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================

