Subject | Re: [IBO] TBlobField in IBOQuery with CachedUpdates=True |
---|---|
Author | Helen Borrie |
Post date | 2007-09-27T07:49:47Z |
At 04:00 PM 27/09/2007, you wrote:
Edit for quPOItem then the State of the dataset is dsBrowse.....
Helen
>--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:// the above puts quPOItem into dsBrowse!
> >
> > At 02:51 PM 27/09/2007, you wrote:
> >
> > Is the datasource of the DBMemo the SAME datasource as the one for
>the grid?
>
>Yes.
>
> > When I asked "please show", I meant show the code that updates the
>dataset.
>
>Sorry, the code as follows:
>
>procedure TfmPo.ShowDetail;
>begin
> if not dmGOS.quPoItem.IsEmpty then begin
>
> if not wwDBGrid1.IsSelected then wwDBGrid1.SetFocus;
>
> if (dmGOS.quPo.State in [dsInsert, dsEdit]) then begin
> if dmGOS.quPoItem.State in [dsInsert, dsEdit] then
>dmGOS.quPoItem.Post;
> end;// at this point, if your frmUnitCost code has not called Insert or
>
> if fmUnitCost.ShowModal <> mrOk then begin
> if (dmGOS.quPoItem.State in [dsInsert, dsEdit]) then
>dmGOS.quPoItem.Cancel;
> end else begin
> if (dmGOS.quPoItem.State in [dsInsert, dsEdit])
Edit for quPOItem then the State of the dataset is dsBrowse.....
>then// and if the state is dsBrowse, the DBMemo will not update the dataset.
>dmGOS.quPoItem.Post;
> end;Maybe you need to give more information about your Blob editing form.
> end;
>end;
Helen