Autor Beitrag
dm
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 83



BeitragVerfasst: Do 17.10.02 13:48 
Hallo,

ich hab eine Access-Datenbank-Tabelle über ADO in ein Delphi-Formular eingebunden. Ich möchte den Inhalt der Tabelle (DBGRID) gerne ins Excel XLS Format konvertieren.

Weiss jemand wie das geht ?



Gruß DM
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: Do 17.10.02 13:58 
Ich habe das ganze über QuickReport gelöst und habe dann den QuickReport export in eine XLS-Datei.
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Do 17.10.02 14:21 
bis11 hat folgendes geschrieben:

Ich habe das ganze über QuickReport gelöst und habe dann den QuickReport export in eine XLS-Datei.

Hey, das ist ja mal ne Variante an die ich noch gar net gedacht habe :D

Die Alternativen dazu wären: Excel per OLE aufrufen und ansteuern (hab ich noch nicht gemacht) oder das BIFF-Format direkt schreiben.
Ist mit Sicherheit ein bisschen komplizierter als die Reportvariante, aber leistungsfähiger. Eine gute Komponente dazu gibts hier unter der Überschrift Bitte mit BIFF.

Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
Alfons-G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 307

Win XP Prof, Linux, Win 7
D5 Prof, D7 Architect, D2005 Architect, D2007 Architect
BeitragVerfasst: Fr 18.10.02 15:05 
Es gibt auch einige recht brauchbare Excel-Export-Komponenten als Freeware mit Quelltext. Die einfacheren davon kapseln OLE, setzen also Excel auf dem Rechner des Anwenders voraus. Andere schreiben auch direkt das Excel(Biff)-Format.
Such mal bei Torry mit dem Suchbegriff Excel ...

:idea:

_________________
Alfons Grünewald