Subject Re: [IBO] Problem changing the TIB_Datasource Dataset property
Author Helen Borrie
At 04:45 AM 03-06-02 +0000, you 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?

I always keep the Datasource-Dataset relationship intact and change the
Datasource property of the control.


regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com