Best way to insert record?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Guest

Best way to insert record?

Post by Guest » Tue 16 Aug 2005 09:38

Hi
what is the best way to insert records.
I have application where I am inserting a lot of records a the same time.
What way is best way to do this, using the script and put in the sql with the values in runtime or use the
MyTable->FieldByName("FieldName")->AsInteger = 10;

Thanks.

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Wed 17 Aug 2005 12:58

Please use TMyLoader component. See Loader demo project and MyDAC help for more details.

Post Reply