Paradox Community

Items in pnews.paradox-programming

Subject:Re: TF next or prior value
Date:Tue, 15 Oct 2019 09:50:32 -0500
From:Mark Bannister <markRemove@THISinjection-moldings.com>
Newsgroups:pnews.paradox-programming
Yes.  Do I remember how.  No. :(
You can access the RowNo property... maybe that is how... or you may 
have to attach Tcursor on the datamodel table: 
tc.dmatach("MyDatamodelAlias")

On 10/15/2019 5:45 AM, Kevin Baker wrote:
> 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