Subject | Re: Problem changing the TIB_Datasource Dataset property |
---|---|
Author | mmenaz |
Post date | 2002-06-03T18:12:10Z |
I think we can consider this a bug...
But, just as a workaround, could you try to assign nil first?
Like:
dsProduct->Dataset = nil;
dsProduct->Dataset = qrProduct;
I think that inside IBO the property is usually checked for being "blanked" rather than being changed..
Just an idea
Regards
Marco Menardi
But, just as a workaround, could you try to assign nil first?
Like:
dsProduct->Dataset = nil;
dsProduct->Dataset = qrProduct;
I think that inside IBO the property is usually checked for being "blanked" rather than being changed..
Just an idea
Regards
Marco Menardi
--- In IBObjects@y..., "ehandbury" <ehandbury@h...> wrote:
> Hello,
>
> (IBO4_Gc, BCB4, FB1)
>
> I must be missing something, but...
>
> At design-time, I have: dsProduct->Dataset = qrProduct
>
> At runtime, I change this to dsProduct->Dataset = qrPSearch
>
> The problem is that none of the data-aware controls can see this
> Dataset change. If I set the Dataset to qrPSearch at design-time then
> it works.
> Is there anything extra that has to be done at runtime (when
> changing the Dataset) to allow the data-aware controls to see the new
> Dataset?
>
> TIA. Eric.