Autor Beitrag
xck3001
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 32


D5 Pers, D7 Ent
BeitragVerfasst: Di 28.03.06 09:11 
Hallo,

ich setze gerade die Mitgliederverwaltung eines Vereins von einer Access-Datenbank in eine MySQL/PHP Umgebung um.
In der Access Tabelle gibt es die Möglichkeit, aus einer doc-Worddatei einen Serienbrief mit den ganzen Mitgliedern zu erzeugen. Jetzt ist die Frage: Wie setzt man sowas online um?
Meine einzige Idee bisher sieht so aus:
Statt einem Word-Template ein HTML-Template nehmen, dort an den entsprechenden Stellen die Daten (Anschrift usw.) der Mitglieder eintragen und die Datei dann abzuspeichern und dem Benutzer gesammelt zum Download anbieten.

Besser wäre es aber natürlich wenn man z.B. das Serienbrief-doc lokal weiterbenutzen kann und irgendwie die Adressen importiert, aus einer CSV z.B., aber soweit ich weiß ist das nicht möglich.

Habt ihr noch Ideen wie man das komfortabel implementieren kann?

Vielen Dank!
direction4delphi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 84

WIN 95, WIN 98, WIN ME, WIN NT, WIN 2000, WIN XP, VISTA
D2 Prof, D4 Prof,D2005 Prof, Delphi4Php
BeitragVerfasst: Di 28.03.06 23:38 
Bei mysqlab sind links zu treibern angeführ (ODBC) mit denen du den MySQl Server ansprechen kannst - somit die tabellen

Kanst also die MySQl Tabelle direkt in Word&Co verwenden

mfg
direction4delphi

_________________
Warning: dates on calendar are closer than they appear.
MrSaint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1033
Erhaltene Danke: 1

WinXP Pro SP2
Delphi 6 Prof.
BeitragVerfasst: Mi 29.03.06 07:14 
Hi!
Also ein Ausdruck einer HTML-Seite sieht wohl nicht sher hübsch aus (da sind ja immer noch WWW-Adresse, Datum und so weiter mit aufgedruckt). Schöner wäre es ein PDF zu erzeugen! Hab das aber selbst noch nie gemacht: de.php.net/manual/de/ref.pdf.php



MrSaint

_________________
"people knew how to write small, efficient programs [...], a skill that has subsequently been lost"
Andrew S. Tanenbaum - Modern Operating Systems
direction4delphi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 84

WIN 95, WIN 98, WIN ME, WIN NT, WIN 2000, WIN XP, VISTA
D2 Prof, D4 Prof,D2005 Prof, Delphi4Php
BeitragVerfasst: Mi 29.03.06 07:55 
@MrSaint

Ist nicht weiter tragisch mit der PdfLib oder der Fpdf. Im Prinzip wie die Programmierung eines Reports halt ohne Oberfläche.
Das Ziel der Frage war allerdings das er die Word SerienBriefe weiter verwenden will und nur die Adressdaten braucht(aus MySQL)

mfg
direction4delphi

_________________
Warning: dates on calendar are closer than they appear.