thuvan1957
Programmer
I have table customer in access file MyDATA.MDB , that have column C_Name in unicode form (2byte-font). I need read original data from this column. Any one have me?
Thanks
PS: The folow-code dosn't help:
strConn = "DRIVER=Microsoft Access Driver (*.mdb);" ;
+"ADOCodePage=65001;" ;
+"UserCommitSync=Yes;" ;
+"PWD=123456;" ;
+"Threads=3;" ;
+"SafeTransactions=0;" ;
+"PageTimeout=5;" ;
+"MaxScanRows=8;" ;
+"MaxBufferSize=2048;" ;
+"FIL=MS Access;" ;
+"DriverId=25;" ;
+"DefaultDir=;";
+"DBQ=MyDATA.MDB"
MyConn= CREATEOBJECT("ADODB.Connection")
MyConn.CONNECTIONSTRING= strConn
MyConn.Open()
Customer= CREATEOBJECT("ADODB.Recordset")
Customer.Open("Customer", MyConn, 2, 2, 2)
Store Customer.Fields("C_Name").Value to O_Value
?O_Value
....
But I get UDF8-string
thanks
thuvan
Thanks
PS: The folow-code dosn't help:
strConn = "DRIVER=Microsoft Access Driver (*.mdb);" ;
+"ADOCodePage=65001;" ;
+"UserCommitSync=Yes;" ;
+"PWD=123456;" ;
+"Threads=3;" ;
+"SafeTransactions=0;" ;
+"PageTimeout=5;" ;
+"MaxScanRows=8;" ;
+"MaxBufferSize=2048;" ;
+"FIL=MS Access;" ;
+"DriverId=25;" ;
+"DefaultDir=;";
+"DBQ=MyDATA.MDB"
MyConn= CREATEOBJECT("ADODB.Connection")
MyConn.CONNECTIONSTRING= strConn
MyConn.Open()
Customer= CREATEOBJECT("ADODB.Recordset")
Customer.Open("Customer", MyConn, 2, 2, 2)
Store Customer.Fields("C_Name").Value to O_Value
?O_Value
....
But I get UDF8-string
thanks
thuvan