Mike,

One of the challenges with the scrolling region is figuring out when 
variables get assigned.--

I would suggest putting a remark at the top of all your eeps like

--this is the ON ROW ENTRY eep

my code here


--this is the ON ROW EXIT eep

my code here


etc.


and then TRACE your code to see what is going on



-----Original Message-----
 From: "Michael J. Sinclair" <[email protected]>
 To: [email protected] (RBASE-L Mailing List)
 Date: Wed, 20 Jun 2012 14:18:51 -0700 (PDT)
 Subject: [RBASE-L] - Re: How is the On Row Entery EEP supposed to work?



I tried that, not change, except now the variable disappears and reappears 
when I trace it.

Mike





From: jan johansen <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Wed, June 20, 2012 4:57:59 PM
Subject: [RBASE-L] - Re: How is the On Row Entery EEP supposed to work?


Try adding a CLEAR before your code. Like;

CLEAR VAR varname

SET VAR varname TEXT = NULL

GETPROPERTY component_id TEXTVALUE varname


-----Original Message-----
From: "Michael J. Sinclair" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Wed, 20 Jun 2012 13:52:35 -0700 (PDT)
Subject: [RBASE-L] - Re: How is the On Row Entery EEP supposed to work?



No, its just one field that I am trying to get the information from. So, 
only one row in the scrolling region is "designed" and therefore only one 
component id for the one field.

Mike





From: jan johansen <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Wed, June 20, 2012 4:38:48 PM
Subject: [RBASE-L] - Re: How is the On Row Entery EEP supposed to work?


Mike,


You are using different componentid's, right?


Jan


-----Original Message-----
From: "Michael J. Sinclair" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Wed, 20 Jun 2012 13:14:55 -0700 (PDT)
Subject: [RBASE-L] - How is the On Row Entery EEP supposed to work?



Hi All,

When I fire an On Row Entry EEP using the F7 or F8 key from within a 
scrolling region, and the first line of the EEP is ...

GETPROPERTY component_id TEXTVALUE varname

I get the value from the  field where the cursor was (where it started) when 
I hit the F7 or F8 key, not the value of the field where the cursor ends up.

Is that the way it should be???

I expect that when I do an On Row Exit EEP, but I would not expect that with 
On Row Entry EEP.

In fact, if I do both EEPS, they both fire, Exit first then Entry, as 
expected.

I have this line in Both EEPs... 


GETPROPERTY component_id TEXTVALUE varname in both EEPs,

The value of varname does not change.

What am I doing wrong?

TIA

Mike

Reply via email to