Look ScreenPrint.<br><br><div class="gmail_quote">2008/5/30 peng <<a href="mailto:pengtu321@gmail.com">pengtu321@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your answer, but I do not know how to set up
TSQLConnection.ExecuteDirect (......). <br>TSQLConnnection components in
the election, I can not find ExecuteDirect attributes. Can give me concrete steps ? I am still a novice Lazarus, thank you! <br>--<br><div class="gmail_quote">2008/5/30 Joost van der Sluis <<a href="mailto:joost@cnoc.nl" target="_blank">joost@cnoc.nl</a>>:<div class="Ih2E3d">
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You should first set the client_encoding with<br>
'TSQLConnection.ExecuteDirect('set client_encoding to ''gbk'');'<br>
Then you can open your query. (Note that you can only change the<br>
sql-statement of an query when it's closed)<font color="#888888"><br>
Joost.</font><br></blockquote></div></div></blockquote></div><br>-- <br>我的'开源办公室':<br><a href="http://pengtu.net/ooo">http://pengtu.net/ooo</a>