Subject RE: [IBO] IBO4 bug in record inserting?
Author Riho-Rene Ellermaa
What about my case?

When I insert new record, sometimes (10% of cases) all my
old records disappear from grid - only new record shows. I
can post it and enter more records and they all show OK.
Only old records are missing.
And when I try to close my form the query is in dssPrepared
state.

....

Updated to 4.0.2C
Looks like this problem appears 100% when I first time open
my form. Next time everything is working perfectly
It works OK when I just open my form, close it and open it
again. Only when after launching my program I open this
form and try press Insert, all old records are hidden.

The forms are created and destroyed every time
FVolad=new TFVolad(this);
FVolad->ShowModal();
delete FVolad;
In FormShow I open my query and in FormClose I close it.
The query is in Datamodule and in form I have DataSource
linked to Datamodule->Query

I must do something very clever or very stupid.
IMHO I have worked this way in IBO3 without problems.

BTW: The lookupCombo dropdown width is still not working
correctly :(. When I have 2 fields, the second shows only
half data

Riho-Rene Ellermaa
senior programmer
Hansabank

>
> I made it so that you can also Locate() on queries that are
> not open with
> IBO 4. So, need to be careful here as well.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>