I can connect mysql through ODBC in base,but my problem is

charset not thai.Can you tell me how to read thai from Mysql

through ODBC.

my code is....

  sUser = "test"
  sPass = "1234"
  sURL  = "sdbc:odbc:testdb"

  oManager = CreateUnoService("com.sun.star.sdbc.DriverManager")
  Dim oParms(1) as new com.sun.star.beans.PropertyValue
  oParms(0).Name = "user"
  oParms(0).Value = sUser
  oParms(1).Name = "password"
  oParms(1).Value = sPass
  oConnection = oManager.getConnectionWithInfo(sURL,oParms())


Thanks,
jatuwut wengthaisong

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to