Funny I saw this email, but not Karen's.  
Ok, I will try that.  Thank you,Patti
      From: Jim Belisle <[email protected]>
 To: RBASE-L Mailing List <[email protected]> 
 Sent: Thursday, January 22, 2015 4:34 PM
 Subject: [RBASE-L] - Re: Embedded eep on a variable edit field
   
I agree with Karen about using the PROPERTY command and the Rstyle button.
That has helped me numbers of time.

James Belisle

Making Information Systems People Friendly Since 1990
[cid:[email protected]]

From: [email protected] [mailto:[email protected]] On Behalf Of Karen Tellef
Sent: Thursday, January 22, 2015 3:23 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Embedded eep on a variable edit field

Patti:  You'll love using internal code!  Not sure if you've noticed this but 
when you're
editing your eep code (this is using 9.5) there is a blue checkmark icon in the
above toolbar that is for rstyle.  Click on this and see if your code has an 
error.

Also, you might want to drop the "skip" commands from now on.  Replace them
with the newer command:
    PROPERTY ine01ged SET_FOCUS 'TRUE'

Karen

-----Original Message-----
From: Jim Belisle <[email protected]<mailto:[email protected]>>
To: RBASE-L Mailing List <[email protected]<mailto:[email protected]>>
Sent: Thu, Jan 22, 2015 2:56 pm
Subject: [RBASE-L] - RE: Embedded eep on a variable edit field

Is this EEP located in a SWITCH or CASE part of your code?



James Belisle



Making Information Systems People Friendly Since 1990

[cid:[email protected]<mailto:[email protected]>]



From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]?>] On Behalf Of Patti Jakusz

Sent: Thursday, January 22, 2015 2:37 PM

To: RBASE-L Mailing List

Subject: [RBASE-L] - Embedded eep on a variable edit field



I'm trying the embedded eeps in an object instead of calling an external eep,

for pretty much the first time.



I have a variable edit field.  It's the 3rd field on the form, but since the

other two are radio groups, it skips over those and goes right to the variable

edit field.  I "get" why it does that.



But I get an error message when I try to leave the variable edit field, and

again eveytime the cursor lands on it.  (happens a lot when I'm testing other

things.)



Here's my eep, that is executed upon leaving the field:



if vine01ed < 12 then

    property BiiAdd_INE01GED visible 'true'

    property BiiAdd_e1a visible 'true'

    skip to INE01GED

else

    property BiiAdd_INE01GED visible 'false'

    property BiiAdd_e1a visible 'false'

    skip to vine04ed

endif

return



The error messages I keep getting are:

-ERROR- No WHILE, SWITCH or IF blocks are open on current input source. ( 466)

 Switching input back to keyboard



It actually makes the other fields appear or disappear ok.  But why the error?



Thanks,

Patti

  

Reply via email to