Subject [IBO] Re: wrong record after post & edit (with blob)
Author lalopus
ok, i've just upoloaded an example to the group files (look for file
TestIBO.zip)
Please use database employee.gdb that comes with firebird.
The small grid is just to see the already existing primary keys.
Field 'TEAM_LEADER' can be '4' and 'PRODUCT' can be 'other'.
- click 'Open' (also refreshes datasets if they're already opened)
- click 'Insert'
- fill the data (do not fill the 'PROJ_DESC' field at this time)
- click 'Post & Edit'
- At this point, the record is in the edit state
- fill the 'PROJ_DESC' field and click 'Post & Edit' again
- the query 'gets lost'

Regards
Eduardo



--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...>
wrote:
> Will someone please send a sample app that demonstrates this
problem?
>
> Thanks,
> Jason Wharton
>
> ----- Original Message -----
> From: "lalopus" <eduardo@p...>
> To: <IBObjects@yahoogroups.com>
> Sent: Friday, June 27, 2003 12:15 PM
> Subject: [IBO] Re: wrong record after post & edit (with blob)
>
>
> > Well, not yet. I'm still waiting for an answer.
> >
> > Regards
> > Eduardo
> >
> > --- In IBObjects@yahoogroups.com, "ddotnet" <helebor@t...> (by
way
> > of Helen Borrie <helebor@t...>) wrote:
> > > --- In IBObjects@yahoogroups.com, "lalopus" <eduardo@p...>
wrote:
> > > > Hi, I am doing the following:
> > > > - TIBOQuery myQuery positioned on record 'x'.
> > > > - myQuery.Insert
> > > > - fill with data...
> > > > - myQuery.Post
> > > > - myQuery.Edit
> > > > when myQuery has a blob field with data the dataset
(TIBOQuery)
> > is
> > > > positioned on the same record that it was before I made the
> > Insert
> > > > (this is, record 'x').
> > > > If the blob field (a TMemo in this case) has no data, the
record
> > > > after Edit is the newly inserted record.
> > > >
> > > > Help!?
> > > >
> > > > Regards
> > > > Eduardo
> > >
> > >
> > > Hi,
> > >
> > > I've the same problem. Any solutions?