Subject | Re: [IBO] TIBOQuery AfterScroll + recordCount problem (not BDE) |
---|---|
Author | Jason Wharton |
Post date | 2000-12-01T06:53:23Z |
Around line 3100 in IBDataset.pas look for the code that is missing these
two lines:
if WantRefresh and WasChanged then
begin
DoBeforeScroll; // Added this line of code.
InternalDataset.Close;
InternalDataset.Open;
InternalDataset.First;
CursorPosChanged; // QA!!
SysResync( true, [] );
DoAfterScroll; // Added this line of code.
end;
This will give you the afterscroll event when using master-detail and other
parameter based changes.
It doesn't give the Open/Close events here and I am wondering if it should
or not...
Comments?
If you don't have Full Source let me know and I'll set you up with it. (I
take good care of my bug finders...)
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
two lines:
if WantRefresh and WasChanged then
begin
DoBeforeScroll; // Added this line of code.
InternalDataset.Close;
InternalDataset.Open;
InternalDataset.First;
CursorPosChanged; // QA!!
SysResync( true, [] );
DoAfterScroll; // Added this line of code.
end;
This will give you the afterscroll event when using master-detail and other
parameter based changes.
It doesn't give the Open/Close events here and I am wondering if it should
or not...
Comments?
If you don't have Full Source let me know and I'll set you up with it. (I
take good care of my bug finders...)
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Jason Wharton" <jwharton@...>
To: <IBObjects@egroups.com>
Sent: Thursday, November 30, 2000 11:36 PM
Subject: Re: [IBO] TIBOQuery AfterScroll + recordCount problem (not BDE)
> I think I got it isolated...
>
> Stay tuned.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
>
>
>