IMPORT EXCEL FILE TO DBF

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
Alex Gustow
Posts: 290
Joined: Thu Dec 04, 2008 1:05 pm
Location: Yekaterinburg, Russia
Contact:

Re: IMPORT EXCEL FILE TO DBF

Post by Alex Gustow »

mol wrote:I've tried to export to Excel 2010 and it works OK.
"To export to"? Maybe it's little mistake of you, Marek? I think you wanted to type "to export from Excel" :)

Как говорил (кажется, товарищ Сталин): "Маленькая ошибка рождает большое недоверие" :)

Comrade Stalin (maybe I'm wrong) said: "A small error gives rise to a lack of confidence" :)
User avatar
mol
Posts: 3723
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: IMPORT EXCEL FILE TO DBF

Post by mol »

Now, I've tested reading from excel 2010 to dbf file and everything converts OK.

HMG is great!

Best regards, Marek
User avatar
Alex Gustow
Posts: 290
Joined: Thu Dec 04, 2008 1:05 pm
Location: Yekaterinburg, Russia
Contact:

Re: IMPORT EXCEL FILE TO DBF

Post by Alex Gustow »

OK, Marek, I've tested today too on Excel 2010 - it works fine!
User avatar
swapan
Posts: 242
Joined: Mon Mar 16, 2009 4:23 am
Location: Kolkata, India
Contact:

Re: IMPORT EXCEL FILE TO DBF

Post by swapan »

My sincere thanks to Marek for this coding.
And Alex thanks to you for the testing......its now VERIFIED & CERTIFIED BY ALEX! :D

Actually, my boss who wanted this kind of solution, has changed his mind and diverted me to a different task.
But this kind of routine was badly needed in our forum - as we've solutions for Dbf2Excel, and was lacking the reverse of it.....
Marek's routine will strenghten the package now with this Excel2Dbf facility.

Regards,

Swapan
Thanks & Regards,
Swapan Das

http://www.swapandas.com/
User avatar
Alex Gustow
Posts: 290
Joined: Thu Dec 04, 2008 1:05 pm
Location: Yekaterinburg, Russia
Contact:

Re: IMPORT EXCEL FILE TO DBF

Post by Alex Gustow »

swapan wrote:VERIFIED & CERTIFIED BY ALEX!
Yessss!!! My world famous "Great Alex's Beta-Testing Corp. Inc. Ltd." (GABT) tested this routine and certified that IT WORKS on ALL known OSes and platforms!!! (including IMP PC [IBM PC XT - of course! but you must have at least one 360k floppy drive and at least one CGA display...], all MACs, iPhone, iPod, iCan, iCan't, Sony PlayStation-1 [2,3,4,5,6,7], PSP, XBox-360 [720, 1440 etc], Nintendo, ZX-Spectrum, Commodore, Atari etc... even on old PDP-11 mainframe [it stays - maybe till now - on my oooold - 1980's - work in one of laboratories of Russian Academy of Sciences]... we aren't sure that it works on abacus... we can't find abacus in museum... but maybe - we hope - it works too... and works FINE!!!) :) :) :)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: IMPORT EXCEL FILE TO DBF

Post by Rathinagiri »

:) I enjoyed your Professional touch Alex.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
dodogo
Posts: 17
Joined: Thu Feb 11, 2010 9:14 pm
Location: Prešov, Slovakia, EU

Re: IMPORT EXCEL FILE TO DBF

Post by dodogo »

Hi. I know it is off topic.. but..
How I can read name of sheet in excel file? (ODBC)
thx. dodogo
RPC
Posts: 286
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: IMPORT EXCEL FILE TO DBF

Post by RPC »

mol wrote: Wed Feb 10, 2010 7:59 am Try to change some code in my app:

Code: Select all


#define CRLF Chr( 13 ) + Chr( 10 )

#include "minigui.ch"

PROCEDURE MAIN()


Hi Mol
Thanks for this program to convert excel file to DBF file.
Can you provide the sample of Excel and DBF files referred to in the program.
Thanks
rpc
Post Reply