You have to trap for error code in the first line of code following the
command you want to check.  In your case, "out screen" completes
successfully, so e1 is set back to 0.  You could do this:

set error var e1
set var vholderr int
out autochk.dta with screen
autochk full
set var vholderr = .e1
out screen
if vholderr > 40 then
   .....my attention code
endif


----- Original Message -----
From: "Bernard Lis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 10:26 PM
Subject: Autochk problem 6.5++ DOS 1.851


> My run command has:
> set error var e1
> out autochk.dta with screen
> autochk full
> out screen
> if e1 > 40 then
>    .....my attention code
> endif
>
> I did not get any attention!  But there were errors:
> Columns index file reference is invalid  (1239).
> is 1239 > 40 ?  How do you trap out an error like this?
>
> The error was in sys_form3, sys_reports3, sys_labels3, sys_layouts3,
> sys_merge
>
> However, reloading the dtabase fixed these problems (I hope).  But I was
not
> aware of this until I checked the autochk.dta file, out of curiosity.
>
> I don't believe I am using these system files #3.  Did the loading of
> sys_merge cause these problems?  I have been having problems with r:merge
> allowing multible users to access the database in rbase when rmerge is
> loaded.
>
> Bernie Lis
> Megabytes, Inc.
>
> ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: INTRO rbase-l
> ================================================
> TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: UNSUBSCRIBE rbase-l
> ================================================
> TO SEARCH ARCHIVES:
> http://www.mail-archive.com/rbase-l%40sonetmail.com/
>

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to