Subject Re: Problem changing the TIB_Datasource Dataset property
Author ehandbury
Found the problem...

The newly-assigned dataset had ColorScheme=false which basically
masked-out the data in the controls. The data was there, it was just
hidden in pitch-black.

Thanks for all your answers. Eric.


--- 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.