Paradox Community

Items in pnews.paradox-programming

Subject:TF next or prior value
Date:Tue, 15 Oct 2019 06:45:01 -0400
From:Kevin Baker <shcsbaker@gmail.com>
Newsgroups:pnews.paradox-programming
Hi Everyone!

On a TF, is it possible to get the value of the next or prior record 
while on the current record?

I have a feature that disables rows (except the last field on the tf) if 
the user checks the box in the last field.  This "protects" the data in 
that row from being accidentally changed.  If the row above my current 
row is "protected" and the user moves up, then need to move to the last 
field in the "protected" row then move up.  So I looking for a way to 
get the value of the prior record before trying to move up.

For example in my tf, I have a field called Num, if I'm in the Num field 
and try and move up (arrow keys, scroll move) and the record above is 
"protected" then nothing happens.  If I could get the value of the last 
field in then I would to the last field then move up.

Thanks,
Kevin


Copyright © 2004 thedbcommunity.com