Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 4 of 4 total |
OnStateChange not fired in Master-detail Query |
Wed, Jan 4 2006 1:43 PM | Permanent Link |
Chris Erdal | As I can't "see" the datasets, I'm trying to use the onStateChange event of
the detail TDBISAMQuery's DataSource (i.e. the one used by the detail grid) to react when the detail reopens after the master TDBISAMQuery scrolls. The detail TDBISAMQuery closes and reopens, giving the AfterOpen event as expected, but the DataSource doesn't fire the onStateChange. Is this caused by the TDBISAMQuery not telling the TDataSource to fire it, and if so can it be corrected? Or is it Delphi's way of doing things? -- Chris. |
Wed, Jan 4 2006 4:04 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Chris,
<< As I can't "see" the datasets, I'm trying to use the onStateChange event of the detail TDBISAMQuery's DataSource (i.e. the one used by the detail grid) to react when the detail reopens after the master TDBISAMQuery scrolls. The detail TDBISAMQuery closes and reopens, giving the AfterOpen event as expected, but the DataSource doesn't fire the onStateChange. Is this caused by the TDBISAMQuery not telling the TDataSource to fire it, and if so can it be corrected? Or is it Delphi's way of doing things? >> DisableControls is called during the Close/Open when refreshing the master-detail parameters for the query. This is compatible with the way Borland coded the TQuery component, so I'm a bit reluctant to change it and have it start firing events. -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Jan 5 2006 2:54 AM | Permanent Link |
Chris Erdal | > DisableControls is called during the Close/Open when refreshing the
> master-detail parameters for the query. This is compatible with the > way Borland coded the TQuery component, so I'm a bit reluctant to > change it and have it start firing events. > Fine. I just wanted to be sure it was as designed before working out how to get around my problem. Thanks for your quick response. Chris -- |
Thu, Jan 5 2006 4:48 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Chris,
<< Fine. I just wanted to be sure it was as designed before working out how to get around my problem. >> No problem. I'm sorry that I couldn't be more helpful in this case. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |