Export data to OpenOffice Calc and MS Office Excel

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

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: Export data to OpenOffice Calc and MS Office Excel

Post by Rathinagiri »

That is so nice of you Marek. Very useful indeed.

Of late, I am just exporting data via csv format. This will be a good solution. I think MSExcel can also open ODS formats.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Export data to OpenOffice Calc and MS Office Excel

Post by Pablo César »

Tahnk you Marek for sharing.

I also thought very useful !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by mol »

Rathinagiri wrote:That is so nice of you Marek. Very useful indeed.

Of late, I am just exporting data via csv format. This will be a good solution. I think MSExcel can also open ODS formats.
New MS Excel can open .ods, of course.
But OpenOffice is free :-)

A long time ago, our absent big friend Esgici asked me to prepare some instruction about export to excel and openoffice.
I'll prepare such a sample, but at march, I promise ;-)

Thanks for interesting!
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by esgici »

mol wrote: A long time ago, our absent big friend Esgici asked me to prepare some instruction about export to excel and openoffice.
I'll prepare such a sample, but at march, I promise ;-)
Thanks, speedy Gonzales :lol:

BTW I'm not absent, simply a bit quiet ;)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by mol »

Wow, I've found solution to see some words from Esgici :-D too!
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: Export data to OpenOffice Calc and MS Office Excel

Post by Rathinagiri »

I am using LibreOffice from the its OpenOffice640 version. But, most of our clients still use MsExcel.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Export data to OpenOffice Calc and MS Office Excel

Post by mol »

Export to MS Excel and format sheet is easier than in OO Calc.
I'll prepare sample for both apps.
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: Export data to OpenOffice Calc and MS Office Excel

Post by Rathinagiri »

In both the cases, the exporting system SHOULD have the respective software. That is the problem. Without connecting any OLE if we can export to Excel/Openoffice format (like PDF export), that will be great.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: Export data to OpenOffice Calc and MS Office Excel

Post by dragancesu »

OLE is probably a better method of data transfer to Excel, but some do not use Excel (not free). OpenOffice is not the best documented in this work. Data transfer via the clipboard is a good solution (but no formatting)

I tried Excel and OpenOffice, Excel better recognize numbers, for OpenOffice should ALLTRIM (str(Field)) solves the problem of blanks in front of / behind the data

What bothers me in both cases, the Regional options, the problem is a sign of a decimal point, it is usually the point but what if the comma? Where to find that this is a sign? Somewhere in the Registry?
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Export data to OpenOffice Calc and MS Office Excel

Post by Pablo César »

dragancesu wrote:...the problem is a sign of a decimal point, it is usually the point but what if the comma? Where to find that this is a sign? Somewhere in the Registry?
Dragan read this: http://hmgforum.com/viewtopic.php?p=34005#p34005
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply