jesylv
MIS
- Jul 1, 2001
- 135
I am having trouble making this work:
I store SQL Statements in a memo field. Some are quite long (400-500 caracters). At run time users select a SQL statement for execution:
[tt]
&& Recup the SQL and strip CRLF
lcStatement = CLEANCOMMAND(cMySQLTable.mSQL)
&& Execute statement....
&lcStatement.
[/tt]
Works fine with short SQL statements but fails if statements longer than 255 caracters. Any ideas I could use to circumvent this problem????
Jean
I store SQL Statements in a memo field. Some are quite long (400-500 caracters). At run time users select a SQL statement for execution:
[tt]
&& Recup the SQL and strip CRLF
lcStatement = CLEANCOMMAND(cMySQLTable.mSQL)
&& Execute statement....
&lcStatement.
[/tt]
Works fine with short SQL statements but fails if statements longer than 255 caracters. Any ideas I could use to circumvent this problem????
Jean