Access-o-Mania

Access-Forum (Deutsch/German) => Access Programmierung => Thema gestartet von: Klingon 33 am Februar 01, 2013, 16:00:36

Titel: HTML Mail erstellen
Beitrag von: Klingon 33 am Februar 01, 2013, 16:00:36
Hallo,
ich will die Funktion "Daten sammeln" aus Access verwenden. Allerdings ist die Assistensversion etwas mühselig. Daher will ich es mit VBA machen.
Dazu habe ich mir das alles mal angeschaut und bin beim erstellen der Mail hängen geblieben. In der Datenbank habe ich folgenden String zum Erstellen der Mail gefunden:

<mapping><formProperties><automateDataCollection>true</automateDataCollection>
<enableDataCollection>true</enableDataCollection><maxReplies>25</maxReplies>
<numReplies>0</numReplies><allowMultipleReplies>true</allowMultipleReplies>
<allowMultipleRows>true</allowMultipleRows><onlyUpdates>false</onlyUpdates>
<stopDateTime>0</stopDateTime><onlySentTo>true</onlySentTo></formProperties><tables>
<table name="table1" accessTable="SAMMELDATEN" collectionType="insert">
<iterate root="/AccessInfoPathForm/inlinedata/row"><mapitem IsPrimaryKey="1" formNode="PrimaryKey" tableCell="ID"/><mapitem formNode="table1field1" tableCell="ENT_1_ANTWORT" caption="ENT_1_ANTWORT" readOnly="false" required="false" type="x:boolean"/></iterate></table></tables><recipients><recipient email="/o=b/ou=m01/cn=fromadc/cn=de/cn=nau/cn=local/cn=accounts/cn= ext" responded="no"/></recipients></mapping>

hat jemand eine Vorstellung davon, wie ich die Mail mit diesen Daten erstelle?