On Thursday 16 March 2006 13:48, Joost van der Sluis wrote:
> > > In a save button click I have the following code:
> > >  datasource1.dataset.UpdateRecord;
> > >  datasource1.dataset.Post;
> >
> > 1. Normally, a simple Post should be enough.
> > 2. You should commit the transaction when you're completely done.
>
> What I also miss is Dataset.Applyupdates
> And offcourse transaction.commit

I don't understand the purpose of the datasource.dataset.  I have been reading 
the examples files from FPC.  In the files they do not use the 
datasource.dataset anywhere.  Does this mean that I'm not suppose to use the 
datasets?  Are the datasets something from Lazarus?  The only information I 
have has to do with stuff I have read from the web (mostly delphi stuff) and 
what little information is available from the wiki.  Could someone explain?  
How does the sqlquery1 know about the changes?  I thought the dataset 
understood the changes?

John

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to