Paradox Community

Items in pnews.paradox-programming

Subject:Tcursor opening
Date:Wed, 16 Sep 2020 14:47:14 -0800
From:Peter <peterspammenot@whiteknight.email>
Newsgroups:pnews.paradox-programming
I need 3 tcursors to open on a single table, so all need to use the same 
range/filters. Here is how I am doing it:

(removed error trapping for clarity)

tcuCur.open(":TPOWER:Tcard")
tcuCur.edit()
tcuPre.attach(tcuCur)
tcuPre.edit()
tcuNex.attach(tcuCur)
tcuNex.edit()

Will tcuPre and tcuNex inherit all of the restrictions placed on tcuCur?

I should have run my own tests before posting this. The result I got was 
that the attached tcursors do not inherit any restrictions of the first.

So the question now is there a way to only have to set range/filter on 1 
tcursor and have the others inherit those restrictions?

Thank you.


Peter


Copyright © 2004 thedbcommunity.com