![]() |
Datenbank: ACCESS • Zugriff über: ADO
TWideStrings - AdoQuery.SQL
Beim Umstieg von Delphi7 auf Delphi 2006 bzw. 2007 habe ich folgendes Problem:
In Delphi7 funktioniert folgender Code:
Code:
Unter Delphi 200x wird hier ein Widestring erwartet (TWidestring).
AdoQuery1.SQL := Memo1.Lines;
Hat jemand eine Ahnung wie man die Umwandlung durchführt? |
Re: TWideStrings - AdoQuery.SQL
Versuch mal
Delphi-Quellcode:
AdoQuery1.SQL.Text := Memo1.Lines.Text;
|
Re: TWideStrings - AdoQuery.SQL
Vielen Dank für die schnelle Hilfe - funktioniert so einwandfrei.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:06 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz