Subject Re: [IBO] TIBOQuery Keylinks but no Keysource
Author Jason Wharton
TIBOQuery has a DataSource property just like TQuery does. KeyLinks property
has nothing to do with setting up a master-detail relationship between two
datasets. TIBOTable component has a MasterSource property just like TTable
does.

As far as I know, I already have it working just as the BDE components did.
You are just mixing in extra capabilities that are in the native datasets
but not in the TDataset based ones. I agree it would be nice if I made
special mention of things in the help file were information pertains to
TDataset or TIB_Dataset.

Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "danialwidner" <dwidner@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, July 08, 2002 2:30 PM
Subject: [IBO] TIBOQuery Keylinks but no Keysource


> While trying to make the TIBO items behave as the BDE equivalents do
> I read as much as I could on the keylinks property. Jason even said
> all I had to do was set them up.
>
> However, it doesn't work. All the research and the help files say to
> set both the keylinks and the keysource. TIBO objects do not have
> the keysource exposed. They have a datasource property (from the bde
> control) that has no effect. You can't set them to work properly on
> a combo box or other master detail relationship without coding the
> ondatachange event manually.
>
> Could someone post a simple example using 3 TIBOQuerys showing
> master and 2 slave relationships WITHOUT having to code an
> OnDataChange (or any other manual event intervention) to handle the
> updates as the BDE controls did automatically?
>
> Or could Jason fix the BDE replacements in the TIBO set to handle
> this as the BDE controls did?
>
> We have already put in over 400 man hours on this and are less than
> 5% done creating OnDataChange event handlers to do what the BDE code
> did natively.
>
> Thank you.
>
> Dan