Thanks Razzak and Dennis for the input.  I re-wrote the code both ways and
they work.  I must have done something wrong somewhere.

However, better days are here again.

Thanks
Gary

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak
Memon
Sent: Sunday, November 25, 2012 6:54 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Label Question

At 06:58 PM 11/25/2012, Gary Wendike wrote:

>The have a program checks for a condition and if it is not met the 
>program executes a "GOTO" command to finish the routine.
>
>Here is a snippet of the code.
>
>IF vstdhrs < 30 OR vstdhrs IS NULL THEN
>   GOTO endprg
>ENDIF
>.
>.
>.
>Label endprg
>More code.
>
>In my current problem, the vstdhrs are less than 30 should go to the 
>"Label"  endprg.  However I am getting an error message that the 
>"Label" is not found.
>
>Any thoughts on the issue?  I have never run across this before.
>I am sure it is something that I have done wrong somewhere.

Gary,

Try the following and see what you get ..

IF (vStdHrs < 30 OR vStdHrs IS NULL) THEN
    GOTO EndPrg
ENDIF
-- Code Here ...
LABEL EndPrg
- More Code Here ...
RETURN

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase 

--- RBASE-L
=======================3D=======================
D=
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)
=======================3D=======================
D=
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected] In the message SUBJECT, put
just one word: INTRO =======================3D=======================
D=
TO UNSUBSCRIBE: 
Send a plain text email to [email protected] In the message SUBJECT, put
just one word: UNSUBSCRIBE =======================3D=======================
D=
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.
=======================3D=======================
D=

--- 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.
================================================


Reply via email to