Subject Re: [IBO] IB_Grid and Master Detail problem
Author Helen Borrie
At 01:00 AM 07-11-01 +0000, you wrote:
>Hi.
>I have two problems.
>
>1. How can I prevent the "grey state" of a check box in a IB_Grid?

The online FAQ has a number of items explaining how to do this.


>2. I'm using one transaction and two TIB_query comp. for a master detail
>rel. and it works ok when I first open the form. But when I close it and
>open again the master does not query the detail. Some how the link seem to
>be lost between the two.
>
>I'm using ver. 4.2.F
>
>Does anyone have an Idea or is more detailed info needed?

Lots of ideas but they depend on what your settings are - particularly (on the detail dataset) MasterSource, MasterLinks) and (on both datasets) KeyLinks. Also, if you try to set both KeySource and Mastersource on the same relationship, the follow-on behaviour will be messed up.

If you submit details of those, along with the SQL for both datasets, lots of people will have lots of ideas...

regards,
Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________