Oh, and I *don't* want to applyupdates on the AfterScroll event unless that is the only choice.
On Sun, Jun 22, 2008 at 2:22 PM, Howard Lee Harkness < [EMAIL PROTECTED]> wrote: > On Sun, Jun 22, 2008 at 9:03 AM, Joost van der Sluis <[EMAIL PROTECTED]> > wrote: > >> My question is why you did DBNavigator1Click at all? On nbPost, it >> should call - first of all - SQLQuery1.Post. You forgot that. (I guess >> that that's your edit-problem) Normally, if you don't implement >> DBNavigator1Click it will do that automatically. >> >> Well, without some place to put the ApplyUpdates call, nothing gets > changed in the database. When I tried not implementing the > DBNavigator1Click, the program appeared to be working, but the database > never actually changed. > > I also tried putting the ApplyUpdates in the FormClose event, and that > didn't do anything, either. > > You are the one that mentioned that I needed to call ApplyUpdates (and > later, disable and enable controls). Could you please take a look at the > code I posted and SHOW ME what I need to do to make this work? > -- > Howard Lee Harkness > -- Howard Lee Harkness
_______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
