[Lazarus] Difference between SQLQuery.SQL.Text & SQLQuery.SQL.Strings[]
Sven Barth
pascaldragon at googlemail.com
Sat Jun 1 19:08:22 CEST 2013
On 01.06.2013 18:55, Eric Kom wrote:
> Hi,
>
> SQLQuery.SQL.Text & SQLQuery.SQL.Strings[], They all property of type
> string.
>
> Since I can't get a documentation about SQLQuery.SQL.Strings[]
> property, please what is a difference between both?
>
SQLQuery.SQL is simply a TStringList instance, so the difference is that
.Text gets/sets the whole text and Strings[] gets and sets a specific
line (0 based). See also:
http://www.freepascal.org/docs-html/rtl/classes/tstrings.html
Regards,
Sven
More information about the Lazarus
mailing list