Subject | Re: Error with TIB_Query |
---|---|
Author | o_espiao1 |
Post date | 2009-01-14T17:23:12Z |
--- In IBObjects@yahoogroups.com, "Joao Henrique Levada"
<joaolevada@...> wrote:
<joaolevada@...> wrote:
>I have to clean up because the selection is assembled at runtime.
> --- 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.
>