Recent

Author Topic: Strings and SQL Statements for SQLite  (Read 3803 times)

NewUser

  • Guest
Strings and SQL Statements for SQLite
« on: December 23, 2004, 07:12:56 pm »
I am just starting to try Lazarus.  I am also trying to use SQLite with it.  I am creating a large SQL statement in Lazarus.  I have tried defining a variable there as String, PChar, and AnsiString.  No matter what, when I view the variable in the Evaluate dialog, it is cut off at 'String' length of 255.  I have set the {$H+} compiler option and that doesn't work.  How can I send a large SQL statement to the SQLite component?

Thank you.

Anonymous

  • Guest
Strings and SQL Statements for SQLite
« Reply #1 on: December 28, 2004, 08:50:35 pm »
I have no idea how SQL works but if you use {$H+} or "ansistring" it's unlimited. I also don't know what a evaluate dialog is but I think the problem is ether there, or the SQL lib uses explicit "shortstring".

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Strings and SQL Statements for SQLite
« Reply #2 on: December 29, 2004, 01:26:22 pm »
The debugger is not fully working, evaluation is not possible, you should find other methods to view variables.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

 

TinyPortal © 2005-2018