Subject Re: Error with TIB_Query
Author o_espiao1
--- In IBObjects@yahoogroups.com, "Joao Henrique Levada"
<joaolevada@...> wrote:
>
> --- In IBObjects@yahoogroups.com, "o_espiao1" <magnoscosta@> wrote:
> >
> > Hi...
> > I have a weird problem.
> > When I use the command:
> > TIB_Query1.Close;
> > TIB_Query1.SQL.Clear;
> > TIB_Query1.SQLSelect.Clear;
> >
> > Arriving in SQL.Clear the error occurs:
>
> Why did you have to clear the SELECT part of your SQL, after your
> cleared all the SQL?
>
> You don't need the error line.
> "TIB_Query1.SQLSelect.Clear;" delete this line, and your problem is
> over.
>

I have to clean up because the selection is assembled at runtime.