Paradox Community

Items in pnews.paradox-programming

Subject:CanArrive
Date:Thu, 14 Jan 2021 17:07:46 -0800
From:Peter <peterspammenot@whiteknight.email>
Newsgroups:pnews.paradox-programming
Something I am not understanding here.

On a form
I have a tableframe with 10 records and 1 defined field "fld"
Then on the tablefame's CANARRIVE event I have "view(fld)"

I have one undefined field

When the form opens the undefined field has focus

Now for the part I do not understand
When I click say the fourth row of the tbf view shows the data of the 
fourth row.
Considering that my code is in the "CANARRIVE" event shoul dit not show 
the fld for the first row?

Another experiment after clicking the 4th row
I click the undefined field to move focus off the tbf
I then click on the 7th row and again the view statement showed the 
value for the 7th row instead of the 4th row as I expected.

How do I get the value of the current record of a tableframe before it 
gets focus? Thanks for any thoughts.

Peter


Copyright © 2004 thedbcommunity.com