That return will not hurt but you should have one at the end of the file.
RSTYLE will put it there for you automatically.
It will also complain about dotted left side variables but that wasn't your 
problem (this time).

Dennis



________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle
Sent: Wednesday, October 14, 2009 11:19 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: SGET

Dennis,

Thanks for the tip.  I will try that.
The next question is (also I am sure) simple.
This EEP is On Row Exit (from a table to another table).
Do I have the RETURN in the proper place? Or should it go after the ENDIF?

IF vShipState <> .vSgetState THEN
   PAUSE 2 USING 'Shipstate & C# State must be the same!' CAPTION '  New Order 
' ICON STOP
   SKIP TO vShipstate
   RETURN
ENDIF

Jim

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath
Sent: Wednesday, October 14, 2009 11:13 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: SGET

Jan got it!

No dot on left, dot on right of comparison.

Easy to miss!  You can make it more obvious by parenthesizing your variable. 
Then they always need dots

IF (.vShipState) <> (.vSgetState) THEN

Dennis

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Wednesday, October 14, 2009 11:03 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: SGET

Jim,

I think you need to dot the <> variable as such
IF vShipState <> .vSgetState THEN

Jan



Reply via email to