Unicode directly in SQL.Text

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
GuzunNicolae
Posts: 78
Joined: Wed 17 Jan 2007 14:16

Unicode directly in SQL.Text

Post by GuzunNicolae » Thu 31 Jan 2008 14:56

Hello

When I thought there are no problems with Unicode support in my application (as I have solved, with your help, lots of Unicode related problems) I have found one that I don't know how to overcome.
I know that I can use use Unicode queries by using parameters AsWideString.

But what to do when my users type the SQL into a TTntMemo and I have to execute it?
The easiest solution it Query.SQL.Text := TntMemo.Lines.Text or even Query.SQL.Assign(TntMemo.Lines), but these does not work as Query.SQL is a TStrings object.

So is there any solution to my problem ?
I would be very grateful if you could help me. Thanks

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 04 Feb 2008 14:49

Now TMyQuery does not provide such functionality, but we will support means of working with Unicode directly in SQL in one of the next versions.

GuzunNicolae
Posts: 78
Joined: Wed 17 Jan 2007 14:16

hihfswda

Post by GuzunNicolae » Thu 07 Feb 2008 10:38

Hope will not have to wait long :)

Post Reply