<p class="Paragraph"><help:key-word value="Database contents, insert as fields" tag="kw65991_1" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="hide" xmlns:help="http://openoffice.org/2000/help">Select this option data fields for the data selected in the Beamer are to be inserted into the document.</help:help-text> Select the <span class="T1">Fields</span> option in the <span class="T1">Insert Database Columns</span> dialog to insert <help:link Id="67633" xmlns:help="http://openoffice.org/2000/help">fields</help:link> for the data selected in the Beamer. These <help:link Id="67628" xmlns:help="http://openoffice.org/2000/help">database fields</help:link> then act as placeholders for each of the database columns and can be used for your mail merge. The field's contents will be adapted to the record currently selected with the <help:link Id="65972" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Data to Text</span></help:link> icon,.</p>
<p class="Paragraph">If several records are selected when you choose the <span class="T1">Data in Text</span> function, the mail merge fields will be inserted according to the number of records. Furthermore, a field command like "Next record" will be inserted automatically between individual field command blocks inserted into the document.</p>
</span></th></tr></table>
<p class="Paragraph"/>
<p class="Paragraph">The <span class="T1">Insert Database Columns</span> dialog lets you define which database fields to insert into the document and how to format the paragraphs.</p>
<p class="Head2">Fields</p>
<p class="Paragraph">In the <span class="T1">Fields</span> area, use the arrow button to select the database table columns into which you want to insert field contents.</p>
<p class="Paragraph">This list box lists all columns of the database table, which can be accepted in the selection list box to insert them in the document. <help:help-text value="visible">Select the database column, which you want to insert it in the document.</help:help-text></p>
<p class="Paragraph"><help:help-text value="visible">Click this button to accept the entry, you selected in the <span style="font-weight:bold;">Database columns</span> list box, in the selection field.</help:help-text> You can also double click the entry to select it.</p>
<p class="Paragraph"><help:help-text value="visible">The selection field lists the database columns that you selected to insert them in the document. You can also enter a text here. This text will be also inserted in the document.</help:help-text> The entries' order in the selection field corresponds to the data order in the document. For example, if you insert a line break with the Enter key, in the same way, a (paragraph) break will be inserted in the same position in the document.</p>
<p class="Paragraph">By default, the inserted paragraphs are formatted with the current Paragraph Styles. This format corresponds to the "none" entry in the <span style="font-weight:bold;">Paragraph Style</span> list box.<help:help-text value="visible"> This is where you can select other Paragraph Styles to apply in the paragraph you want to insert in the document.</help:help-text> The list box presents the available Paragraph Styles defined in OpenOffice.org and managed in the <help:link Id="67722">Style Catalog</help:link>.</p>