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

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to