Hi
Can anybody help me on the subject.
Thanks
- Ramesh Babu P
Hi
Can anybody help me on the subject.
Thanks
RAMESHBABU:
Your better alternative is Ole
Please take a look to Jeff Barnes Tips & Tricks
http://www.fivewin.info/html/tips___tri ... .php?id=46
Regards
#define xlDBF3 8
FUNCTION MAIN()
LOCAL oExcel := CREATEOBJECT( "Excel.Application" )
LOCAL oWorkBook, oSheet
oWorkbook = oExcel:WorkBooks:Open( "E:\XHARBOUR\MYTEST.XLS" )
oSheet = oExcel:ActiveSheet
oSheet:SaveAs( "E:\XHARBOUR\MYTEST.DBF", xlDBF3 )
oWorkBook:Close( .F. )
oExcel:Quit()
RETURN NILHello Mr.Enrico,
Thanks you. As usually, you have helped me this time too.
Regards,
Hello Mr.Enrico and Friends
When I tried to save the Excel file as .DBF file, I am getting the data column as a character type field in the
target .DBF file.
Can you please give any solution to this problem.
Thanks
RAMESHBABU wrote:
When I tried to save the Excel file as .DBF file, I am getting the data column as a character type field in the
target .DBF file.
column types are changed from numeric to character
sometimes columns are completely ignored
the length of fields are mostly wrong
the maximum of rows to be exported is limited
It's the better way to read the cell values from Excel and write them into a dbf.
Hi Mr.Detlef and Mr.Anser
Thanks for your attention.
Even I too faced the similar problems you have mentioned.
I too agree with your conclusion.
Thanks
Detlef Hoefner wrote:
it's no good idea to save an Excel file as dbf file.
there is an xbrowse sample