Mine was a different situation.

You will need to spend some time with the TRACE command to figure out your 
situation


-----Original Message-----
 From: "Michael J. Sinclair" <[email protected]>
 To: [email protected] (RBASE-L Mailing List)
 Date: Tue, 19 Jun 2012 06:00:29 -0700 (PDT)
 Subject: [RBASE-L] - RE: On Row Entry EEP with mouse click vs [F7]/[F8]



Jan,

Do you recall what you did? I am thinking that a combination of using the 
lastkey function to see if I got to the field via a tab or return vs an 
F7/F8 and then doing the comparison based on values obtained with form 
system variables or getproperty or using a form variable would do the trick, 
but I have not been able to figure it out yet.

I can understand that F7 and F8 are not really changing the field, but I 
would think that the On Entry Row EEP would capture the "new row" value and 
the On Exit Row EEP would capture the "old row" value, but that does not 
seem to be the case.

Mike





From: jan johansen <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Tue, June 19, 2012 8:53:39 AM
Subject: [RBASE-L] - RE: On Row Entry EEP with mouse click vs [F7]/[F8]


Mike,


That is due to the nature of the scrolling region.

Technically you are not leaving the field when you switch rows.

This point has been debated for years on this list.


I had to do some creative EEPing to kind of do what you want.

That was in the past and I have moved away from scrolling regions.

My preferred tool is now the variable listview.


Jan


-----Original Message-----
From: "Michael J. Sinclair" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Tue, 19 Jun 2012 05:17:00 -0700 (PDT)
Subject: [RBASE-L] - RE: On Row Entry EEP with mouse click vs [F7]/[F8]



Javier,

You sure made that part simple! What I am actually trying to do is to check 
to see if the value in the field changes. If it does, I want my On Exit EEP 
to fire, if not, I don't want the On Exit EEP to fire. How can I capture 
value when I enter the field and then see if it has changed? It is easy to 
do that when I am moving back and forth between fields within a row, but I 
am having trouble doing it when I am moving back and forth between rows 
within the same field when I use the [F7] and [F8] keys.

Mike





From: Javier Valencia <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Tue, June 19, 2012 12:44:26 AM
Subject: [RBASE-L] - RE: On Row Entry EEP with mouse click vs [F7]/[F8]

 <!--{cke_protected}{C}%3C!%2D%2D%7B%7D%7B%7D%2D%2D%3E-->

Mike,

 

There is the old school, simpler way. Go to the top 
menu>>Variables>>Add/Edit Variable and create a variable, say vWhatever 
equal to the column whose value you want to collect. This variable will have 
the value of the column for the current record, regardless of how you get 
there. With the advent of the Property command, sometimes we forget that the 
simple things still work.

 

Javier,

 


Javier Valencia, PE

O: 913-829-0888

H: 913-397-9605

C: 913-915-3137

 



From: [email protected] [mailto:[email protected]] On Behalf Of Michael J. 
Sinclair
Sent: Monday, June 18, 2012 10:44 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - On Row Entry EEP with mouse click vs [F7]/[F8]



Hello all,

I have a form with a scrolling region. 

As I move from row to row within the same field, I would like to capture the 
value of the field that I am going to. If I use the On Row Entry EEP, and I 
move from one row to the next using my mouse, the EEP seems to work just 
fine. BUT if I use the [F7] or [F8] key to move from one row to the next, 
the On Row Entry EEP captures the value of the field I am leaving. The On 
Row Entry EEP I have is pretty simple...

 

GETPROPERTY component_id TEXTVALUE varname

RETURN

 

Is there a way to capture the value of the field I am going to using the 
[F7] or [F8] key? Should there be a difference between jumping from one row 
to another using a mouse click vs the [F7] or [F8] key?

 

Thanks

Mike

 

Reply via email to