Page 1 of 1

TRIM CHAR with Delphi 7

Posted: Thu 24 Feb 2005 08:14
by anordlun
Hi.
The thread: http://crlab.com/forums/viewtopic.php?t=419
describes how to trim char with c++ builder 6.

I'm trying to accomplish the same result with Delphi 7 and dll-version 2.50.4.0

How do I proceed?

Posted: Thu 24 Feb 2005 14:57
by Ikar
If you use TCRSQLConnection, then you should use

sqlConnection.Params.Values['TrimFixedChar'] := 'True';

Otherwise,

sqlConnection.Connected := True;
sqlConnection.SQLConnection.SetOption(TSQLConnectionOption(103), Integer(True));

Posted: Fri 04 Mar 2005 10:35
by anordlun
Thanks. I will try that...