[Lazarus] save the detail record to sqlite
Reinier Olislagers
reinierolislagers at gmail.com
Fri Feb 28 11:48:43 CET 2014
On 28/02/2014 11:43, Antonio Fortuny wrote:
> Mine desn't like polishing so I've built a bunch of rules for this kind
> of situation where updatable datasets are involved:
> - always assign an OnNewRecord event and dive the default value to all
> defined fields (TFields list). I know, some DBMS do it for you, but ...
> on creating the client dataset record, setting the master dataset
> key is always the first line, process generators, etc.
> - always explicitely name the used fields in the commanding Sql (any
> error on connecting to the DB will raise an error)
>
> This prevents me to trust my memory too much.
Hi Antonio,
If you want to change/update/improve the tutorial article, be my guest ;)
Thanks,
Reinier
More information about the Lazarus
mailing list