Hi all,
Help me please!
I wrote a small program to read data from excel and write into dbf file. I have problem about my local language. Customer Name in excel sheet is in my local language (Thai), when program read and write into dbf it show ???????? in customer name in dbf.
read data from excel and write into dbf (local language prob
Moderator: Rathinagiri
read data from excel and write into dbf (local language prob
- Attachments
-
- exl2dbf.zip
- (13.8 KiB) Downloaded 282 times
Re: read data from excel and write into dbf (local language
I've tried your sample, I've got something like that in Excel:

Is it right?
You must remember to include file:
to properly use codepages with excel and openoffice
and set codepage, eg:
Regards, Marek

Is it right?
You must remember to include file:
Code: Select all
#include "hbextcdp.ch"
and set codepage, eg:
Code: Select all
HB_CDPSELECT("PLWIN")
Re: read data from excel and write into dbf (local language
Hi Marek,
Thank you very much for your help.
In excel is source data, it show correct customer name, but in dbf file, it shows ??? ? ??? in Customer name.
Regards, Apichit
Thank you very much for your help.
In excel is source data, it show correct customer name, but in dbf file, it shows ??? ? ??? in Customer name.
Regards, Apichit
- Attachments
-
- Shoptype.gif (5.21 KiB) Viewed 3031 times
Re: read data from excel and write into dbf (local language
Thai (Thailand)
Re: read data from excel and write into dbf (local language
I have no idea about code page in HMG but I check from my Firefox, it has 2 as list below:
Thai(windows-874)
Thai(TIS-620)
Thai(windows-874)
Thai(TIS-620)