Jim,

Both places.

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

Jan
 


-----Original Message-----
From: "Jim Belisle" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Wed, 14 Oct 2009 11:19:09 -0500
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