Subject Re: [IBO] How to refresh properly
Author Jason Wharton
Please keep in mind that this will refresh all datasets for the entire
transaction.

Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Marc Leclerc" <mlpgr@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, February 26, 2001 6:01 PM
Subject: Re: [IBO] How to refresh properly


> Hi,
>
> Thanks for your help. I have changed my code to
>
> if ( EditOfficeDlg.CreateNewOffice = mrOk ) Then
> DM.IB_Transaction.Refresh(true);
>
> And now values are refreshed.
>
> ----- Original Message -----
> From: "Claudio Valderrama C." <cvalde@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Monday, February 26, 2001 7:28 PM
> Subject: RE: [IBO] How to refresh properly
>
>
> > > -----Original Message-----
> > > From: Marc Leclerc [mailto:mlpgr@...]
> > > Sent: Jueves 22 de Febrero de 2001 1:10
> > >
> > > DM.IB_QueryMain.RefreshAll;
> > >
> > > None of the changed to the correct display in the grid (which by
> > > the way is not the same IB_Control and uses JOIN)
> >
> > What do you mean by the "correct display"? Still old values or new but
> wrong
> > values? If your problem is that you still see old values, you need to
> > refresh (restart) the transaction associated to DM.IB_QueryMain,
otherwise
> > change such transaction's isolation to Read Committed.
> >
> > C.