Subject: | Re: Tcursor opening
| Date: | Tue, 22 Sep 2020 19:45:07 -0800
| From: | Peter <peterspammenot@whiteknight.email>
| Newsgroups: | pnews.paradox-programming
|
Okay that makes sense. Thank you for your efforts.
On 9/16/2020 9:41 PM, Kevin Zawicki wrote:
> tested on a table.
>
> If I open tcursor1 and set a filter and range and then attach tcursor2 to
> tcursor1, tcursor2 inherits tcursor1 range and filter.
>
>
> Look at getGenFilter and getRange to test tcursor2.
>
>
>
>
>
> Peter <peterspammenot@whiteknight.email> wrote:
>> 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
>
|