Bob,
  Have you properly defined the variables to be filled from the GetProperty
command BEFORE using them with the getproperty command?


I can assure you you CAN get the value of a componentID in the onRowEntry
EEP of a table.

Here is my EXAMPLE:


set var vTEXT TEXT = Null
Getproperty dbeMainName TEXTVALUE 'vText'
set var vMsg TEXT = (.vText & 'On Row Entry Fired')
Pause 2 using .vmsg
Return


Even though the variable vText was defined JUST prior to its usage for the
example, I normally [and good practice] define ALL variables in the
onBeforeStart eep.



> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Bob
> Thompson
> Sent: Thursday, November 13, 2014 4:22 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - RE: On Row Entry EEP
> 
> It seems to be the GetProperty command.  Using the exact same code only
> removing the GetProperty and going back to the old style of  "Setting a
> variable equal to the column" in the expression builder,  it works like
> it always has.   I was looking at using the more current GetProperty
> but it evidently is not meant for use in an on row entry eep.
> 
> Bob
> 
> Sent from my iPod
> 
> On Nov 13, 2014, at 3:01 PM, "MikeB" <[email protected]> wrote:
> 
> > Bob,
> >
> > I can verify that the EEPs in the current build are firing WHEN they
> should:
> >
> > Put
> >
> > Pause 2 using 'On Row Entry fired'
> > Return
> >
> > In the on row enter eep
> >
> > And
> >
> > Pause 2 using 'On Row Exit Fired'
> > Return
> >
> > In the row exit eep
> >
> >
> > You will see that they fire correctly, so then you can conclude that
> you are not populating your variables when you think.
> >
> > When you trace, what is the value of vCompIDValue? Is it one of the
> expected values?
> >
> > Also, you might just for S n G, place PROCESSMESSAGE before the
> RETURN just in case the form repaint is waiting for something else...
> >
> >
> >
> >> -----Original Message-----
> >> From: [email protected] [mailto:[email protected]] On Behalf Of
> >> [email protected]
> >> Sent: Thursday, November 13, 2014 3:40 PM
> >> To: RBASE-L Mailing List
> >> Subject: [RBASE-L] - On Row Entry EEP
> >>
> >> OK, I probably am missing something but.....
> >>
> >> 9.5 Extreme  latest build
> >>
> >> Form
> >>
> >> Table Settings
> >>
> >> On row entry eep:
> >>
> >> GETPROPERTY item_operation TEXTVALUE 'vCompIDValue'
> >>
> >> IF vcompidvalue = 'Moulder' THEN
> >>  PROPERTY knife VISIBLE 'true'
> >>
> >> ELSE
> >>  IF vcompidvalue = 'Emboss' THEN
> >>    PROPERTY embossdie VISIBLE 'true'
> >>
> >>  ELSE
> >>    PROPERTY knife VISIBLE 'false'
> >>    PROPERTY embossdie VISIBLE 'false'
> >>  ENDIF
> >> ENDIF
> >>
> >>
> >> RETURN
> >>
> >>
> >>
> >>
> >>
> >> The above data fields turn visible only when I leave the row, not
> >> when
> >>
> >> I enter it.   I cut the above code out of the on entry eep and
> pasted
> >> into
> >>
> >> the on exit eep.   It behaved exactly the same.
> >>
> >>
> >>
> >> I placed the variable vcompidvalue on the form to view and sure
> >> enough,
> >>
> >> it's value does not change until leaving the row.   Either the on
> entry
> >> eep
> >>
> >> is not firing on entry or the values are not being refreshed until
> >> leaving.
> >>
> >>
> >>
> >> I tried RECALC VAR in the EEP but no avail.
> >>
> >>
> >>
> >> Suggestions?????
> >>
> >>
> >>
> >> Thanks,
> >>
> >> Bob
> >>
> >>
> >
> >


Reply via email to