Did you output the iSQL string to a console or a text file or even a
message box to verify that what you're passing in is actually what you
expect?

If the engine is coming back with a problem "Near Select" then there is
something wrong either before the string, or after Select.  GetTableName
may be returning something the query isn't expecting.

On Wed, Feb 10, 2016 at 10:00 AM, Felipe Monteiro de Carvalho <
felipemonteiro.carva...@gmail.com> wrote:

> Result in sqlite3 console:
>
> sqlite> SELECT * FROM "Header_0" WHERE ID=0;
> 0|0|0|0|18|
>
> --
> Felipe Monteiro de Carvalho
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to