Subject Re: [IBO] Re: TIBOQuery Master-Detail isn't working anymore
Author Hans
I recompiled an old project with TIBOQuery and Many Masters/ Many Details
with IBO.4.8.4
and experienced non such problems and the displayed results between the old
project and
the 4.8.4 based one are identical.

----- Original Message -----
From: "Antonio Carlos Ribeiro" <consultor@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, February 03, 2009 3:42 PM
Subject: [IBO] Re: TIBOQuery Master-Detail isn't working anymore


> Update:
>
> // Q1 is Master (TIBOQuery) - dsQ1 the DataSource (TDataSource) of Q1
> // Q2 is Detail (TIBOQuery)
>
> Q2.DataSource := dsQ1;
> Q1.Open;
> Q2.Open;
> // == Master and detail are synchronized
>
> Q1.Next;
> // == Detail remains opened but with RecordCount = 0
>
> Q2.Close;
> Q2.Open;
> // == Detail gets synchronized with Master - RecordCount = 1
>
> As I said, just updated from 4.6 to 4.8.
>
> Any ideas?
>
> Thank you!
>
> Antonio Carlos
>
>
> --- In IBObjects@yahoogroups.com, "Antonio Carlos Ribeiro"
> <consultor@...> wrote:
>>
>> It was, in IBObjects 4.6, now in 4.8 it isn't.
>>
>> I'm using Datasource property and the query has an WHERE clause to
>> match the fields.
>>
>> Something has changed from 4.6 to 4.8?
>>
>> Thank you.
>>
>> Antonio Carlos
>>
>
>
>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>