Autor Beitrag
THF
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Vista
Delphi 2005 professional
BeitragVerfasst: Fr 09.01.09 18:53 
Kann ich meine MyBase-Datenbank (.XML) in das Excel-Format konvertieren ???

Wenn ja, wie ?
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Fr 09.01.09 18:59 
Z.B. mit Hilfe von COM/OLE, oder durch Wandlung in CSV

_________________
Markus Kinzler.
THF Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Vista
Delphi 2005 professional
BeitragVerfasst: Fr 09.01.09 19:32 
user profile iconmkinzler hat folgendes geschrieben Zum zitierten Posting springen:
Z.B. mit Hilfe von COM/OLE, oder durch Wandlung in CSV


..da ich kein Excel habe (nur Excel-Viewer) geht es wahrscheinlich mit COM/OLE nicht, oder ?

...oder durch Wandlung in CSV <--- und wie funktioniert das ?
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Fr 09.01.09 19:36 
CSV ( Comma Sepatarated Values) ist eine Textdatei mit Trenner ( in Deutschalnd meist ; statt Komma, da dieses Dezimaltrenner ist).

Bsp.:
Nr;Name;Vorname;Strasse; ...
1;Mayer;Hans;Haupstr. 1; ...
2;Müller;Peter; ....

_________________
Markus Kinzler.
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Fr 09.01.09 19:49 
Ich wäre mit Textformaten jeglicher Art vorsichtig.
Das Feldtrennzeichen könnte ja mal in den Daten vorkommen. Das gäbe dann einen Salat. Excel ist da
etwas unterbelichtet :-).

Wenn du eh schon XML hast - Excel ist (in den neueren Versionen) in der Lage auch XML zu lesen. Es hapert zwar
mit 1:n Relationen, aber ansonsten gehts.

Ich persönlich würde COM vorziehen - geht aber nur, wenn auch Excel vorhanden ist.

:-)msch

_________________
ist das politisch, wenn ich linksdrehenden Joghurt haben möchte?
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Fr 09.01.09 19:52 
Oder man verwendet eine Komponente, welche direkt BIFF schreiben kann

_________________
Markus Kinzler.