The problem with the conversion of DBF => XLS

This forum is for eXpress++ general support.
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: The problem with the conversion of DBF => XLS

#11 Post by Eugene Lutsenko »

messaoudlazhar wrote:I'm sure the problem is a problem of size of field, because I had the same problem and solved it when I adjusted the size so that it meets the standard DBF Dbase III.
I'll try to do it again with dimensions much smaller than the maximum

skiman
Posts: 1194
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: The problem with the conversion of DBF => XLS

#12 Post by skiman »

Hi,

This solution will not work with a recent version of Excel. It doesn't support dbf files anymore.
Best regards,

Chris.
www.aboservice.be

Wolfgang Ciriack
Posts: 481
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: The problem with the conversion of DBF => XLS

#13 Post by Wolfgang Ciriack »

Hi Chris,
wenn i rename a text.dbf in test.xls, Excel 2013 open this without any error.
So what do you mean by your statement ?
_______________________
Best Regards
Wolfgang

skiman
Posts: 1194
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: The problem with the conversion of DBF => XLS

#14 Post by skiman »

Hi Wolfgang,

Yes, you are correct. I was convinced that DBF wasn't supported anymore. You can't open a DBF or save to a dbf. However, it looks as the functionality is still somewhere in Excel.

So, if it is only for opening and viewing a dbf, it will work.
Best regards,

Chris.
www.aboservice.be

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: The problem with the conversion of DBF => XLS

#15 Post by Eugene Lutsenko »

Excel-2007-2011 DBF-file opens but does not allow write XLS-file as DBF. But how does this relate to convert DBF => XLS using the Native is not very clear. Maybe Alaska function uses DBF => XLS converter Excel and if not, then gives an error?

User avatar
Auge_Ohr
Posts: 1421
Joined: Wed Feb 24, 2010 3:44 pm

Re: The problem with the conversion of DBF => XLS

#16 Post by Auge_Ohr »

hi,

look at c:\exp19\Source\Dclipx\_dcfunct.prg for DC_WorkArea2Excel().
it does use activeX to access Excel COM Interface.

if you want to create a Excel Sheet native have a look on libxl.dll http://www.LibXL.com
in German Xbase++ Forum Hubert have made a Wrapper Class using ot4xb and libxl.dll
http://www.familie-brandel.de/index_e.html
greetings by OHR
Jimmy

User avatar
unixkd
Posts: 571
Joined: Thu Feb 11, 2010 1:39 pm

Re: The problem with the conversion of DBF => XLS

#17 Post by unixkd »


Post Reply