Subject | Re: [IBO] TIB_Query: Problem with SQL Parsing? |
---|---|
Author | dp078 |
Post date | 2003-09-09T15:42:17Z |
> > How did the CR and LF characters get in there? How are youcarriage
> setting the SQL
> > property?
>
> CR and LF characters are standard line-breaking characters in
> Windows text (strings of a multi-line control).
> They are being put in there by TIB_Query component itself, more
> precisely, by its embedded TStrings object (SQL property): "When
> reading Text, the strings in the list will be separated by
> return and line feed" (from Delphi online help)....in some cases (which ones?).
> TIB_Query should have parse TStrings properly, but it looks as it
> doesn't.
To clarify a little bit more, and to answer the question asked - I
set SQL property at design time in this case. However, even if you
do that at run time by SQL.Append or something like that, SQL.Text
will contain CR+LF.
D.P.