Subject Re: [IBO] Re: cache sync - before edit
Author Harald Klomann
I think I supplied you with some sample code to fix your problem.
Why dont you just use it ?

Harald

pi3k14 schrieb:
>
> Agreed these are troublesome situations, but I can't see any of these
> justifying the fact that AutoEdit doesn't update the (windows)field
> that initiates the AutoEdit before it applies the key pressed.
>
> The user will always observe that something went wrong, and have the
> possibility to correct it.
> As it is now, he have no way of knowing that he just erased some
> important information (in a text field).
> That is BAD.
> The situations described below are ANNOYING.
> (sorry for yelling, but I just had to get out my feelings ;)
>
> sincerely
> frode
>
> --- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > Excellent observation and explanation.
> > There are indeed some controls and editing styles that make AutoEdit
> > problematic.
> >
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
> >
> > -- We may not have it all together --
> > -- But together we have it all --
> >
> >
> > ----- Original Message -----
> > From: "Marco Menardi" <mmenaz@l...>
> > To: <IBObjects@y...>
> > Sent: Friday, November 29, 2002 6:57 AM
> > Subject: [IBO] Re: cache sync - before edit
> >
> >
> > > Just some thoughts. Put that in the client you have a boolean
> type set
> > > to false, while in the server it has been changed to true. The
> user
> > > wants to set it to true.
> > > With autoedit OFF, you have.
> > > a1) user clicks the "edit button"
> > > a2) user sees that the field is true, so he does nothing (or
> clicks
> > > cancel)
> > >
> > > With autoedit ON:
> > > b1) the user clicks to the checkbox to make it "checked"
> > > b2) what shold the buffer update do? Get the updated data from the
> > > server, then process the user input? Or force the user input as
> the
> > > right data? But what happens if you change the day of a date that
> > > someone else has changed before, changing the month?
> > >
> > > Just some problems that autoedit brings with syncro with the
> server. I
> > > always use autoedit, but have not figured our how to solves this
> > > problems...
> > > regads
> > > Marco Menardi
> > >
> > > --- In IBObjects@y..., "pi3k14" <frode@a...> wrote:
> > > > Could you elaborate on "AutoEdit in apps is generally not a
> good idea
> > > > anyway." ?
> > > > I find AutoEdit to be a nice feature, and refreshing all fields
> when
> > > > entering edit state (automatically) shouldn't be that
> problematic ?
> > > >
> > > > sincerely
> > > > frode
>
>
> ___________________________________________________________________________
> 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/