Subject | RE: [IBO] Bug IBO+IP3000 when using OnRowChanged |
---|---|
Author | Laurent GILBERT |
Post date | 2002-04-15T10:52:13Z |
Hello Jason,
I've found an IBO bug.
After many tests, I searched that extra code IP runs when I set OnRowChanged
or use Footer.
I've found that after resync the DataSet in CheckBrowsMode, the current
record is set to an incorrect value => First record. Now, I know why editing
first record works....
* IP uses "wwDataSetCompareBookmarks" => TDataSet.CompareBookmarks =>
TIBODataset.CompareBookmarks.
I modified your procedure to save the current InternalDataset.BufferBookmark
and to restored it at the end.....
Now grid editing works......
Bye,
Laurent GILBERT
SPIRALE INGENIERIE.
-----Message d'origine-----
De : Jason Wharton [mailto:jwharton@...]
Envoye : sam. 13 avril 2002 11:37
A : IBObjects@yahoogroups.com
Objet : Re: [IBO] Bug IBO+IP3000 when using OnRowChanged
What I want is for you to figure out how to isolate this problem with only
stock IBO components. This may require tracing the IP sources and figuring
out what calls it is making, then duplicating the combination of it, and
then sending me that.
Either that or we will have to arrange to get me sources to IP so that I can
debug their sources.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
I've found an IBO bug.
After many tests, I searched that extra code IP runs when I set OnRowChanged
or use Footer.
I've found that after resync the DataSet in CheckBrowsMode, the current
record is set to an incorrect value => First record. Now, I know why editing
first record works....
* IP uses "wwDataSetCompareBookmarks" => TDataSet.CompareBookmarks =>
TIBODataset.CompareBookmarks.
I modified your procedure to save the current InternalDataset.BufferBookmark
and to restored it at the end.....
Now grid editing works......
Bye,
Laurent GILBERT
SPIRALE INGENIERIE.
-----Message d'origine-----
De : Jason Wharton [mailto:jwharton@...]
Envoye : sam. 13 avril 2002 11:37
A : IBObjects@yahoogroups.com
Objet : Re: [IBO] Bug IBO+IP3000 when using OnRowChanged
What I want is for you to figure out how to isolate this problem with only
stock IBO components. This may require tracing the IP sources and figuring
out what calls it is making, then duplicating the combination of it, and
then sending me that.
Either that or we will have to arrange to get me sources to IP so that I can
debug their sources.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "likemike46" <LikeMike46@...>
To: <IBObjects@yahoogroups.com>
Sent: Saturday, April 13, 2002 1:00 AM
Subject: Re: [IBO] Bug IBO+IP3000 when using OnRowChanged
> Hello Jason,
>
> as I've said in my first posting, I can send you a sample project.
> I take it from the samples of IP3000 and insert the IBO components.
> This project has no special code!
>
> If you agree, I could send you this little project in source and/or
> in executable form.
>
> Best regards
> Mike
>
> --- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > There must be something their grid is doing that is messing IBO up
> somehow.
> > Since I don't have your setup, you are going to need to help out
> isolating
> > this problem.
> > I'd like a lot more details about what exactly the problem is and
> you will
> > need to trace, give callstacks, etc. for us to help you through
> this.
> >
> > Regards,
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/