From 1ce34e9f10a70b8f2e84db6705ec57d650fdd0e7 Mon Sep 17 00:00:00 2001 From: "rosenfield.albert" Date: Thu, 7 Aug 2008 19:43:33 +0000 Subject: [PATCH] Compose a query as a widestring to accommodate table names containing weird characters. --- source/childwin.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/childwin.pas b/source/childwin.pas index cad63c01..4f855489 100644 --- a/source/childwin.pas +++ b/source/childwin.pas @@ -1155,7 +1155,7 @@ var reg_value : String; select_base : String; limit, allrows : Int64; - sl_query : TStringList; + sl_query : TWideStringList; DisplayedColumnsList, HiddenKeyCols, KeyCols : WideStrings.TWideStringList; @@ -1169,7 +1169,7 @@ begin if dataselected and Mainform.actDataPost.Enabled then Mainform.actDataPostExecute(Sender); viewingdata := true; - sl_query := TStringList.Create(); + sl_query := TWideStringList.Create(); try // Limit the number of rows automatically if first time this table is shown // and the user did not explicitely set the limits and pressed OK in mainform