<html> <head> <title>Service Database</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="Database-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#ServicesSummary" class="navisub">Services' Summary</a></td> <td class="navisub">Interfaces' Summary</td> <td class="navisub"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td> <td class="navisub"><a href="#ServicesDetails" class="navisub">Services' Details</a></td> <td class="navisub">Interfaces' Details</td> <td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">text</a> :: <a href="module-ix.html" class="namechain">fieldmaster</a> :: </p> </td> </tr> <tr> <td class="title">service Database</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>specifies service of a Database field master. </dd> <dt><b>See also</b></dt> <dd>::com::sun::star::<a href="../module-ix.html">text</a>::<a href="../TextField.html">TextField</a><br> Only one of the properties <a href="Database.html#DataBaseName">DataBaseName</a>, <a href="Database.html#DataBaseURL">DataBaseURL</a> and <a href="Database.html#DataBaseResource">DataBaseResource</a> should be set. If more than one are set the last one will be used. </dd> </dl> </td> </tr> </table> <hr> <a name="ServicesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services - Summary</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../module-ix.html">text</a>::<a href="../TextFieldMaster.html">TextFieldMaster</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>A ::com::sun::star::<a href="../module-ix.html">text</a>::<a href="../TextFieldMaster.html">TextFieldMaster</a> specifies important data for its ::com::sun::star::<a href="../module-ix.html">text</a>::<a href="../DependentTextField.html">DependentTextField</a>s. </dd> </dl> </td> </tr> </table> <a name="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Properties' Summary</td> </tr> <tr> <td class="imsum_left">string<br> <a href="#DataBaseName">DataBaseName</a></td> <td class="imsum_right">specifies the database name. </td> </tr> <tr> <td class="imsum_left">long<br> <a href="#CommandType">CommandType</a></td> <td class="imsum_right">contains the CommandType this can be the name of a data base table, a data query or a statement. (0 = table, 1 = query, 2 = statement) </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#DataTableName">DataTableName</a></td> <td class="imsum_right">contains the command string. Depending on the CommandType property this can be the name of a data base table, a data query or a statement. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#DataColumnName">DataColumnName</a></td> <td class="imsum_right">contains the name of the data base table. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#DataBaseURL">DataBaseURL</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>indicates the URL of a database file. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#DataBaseResource">DataBaseResource</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>indicates a connection URL, which locates a database driver. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#Name">Name</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>contains the DataColumnName but it enables the fieldmaster and its depending fields to work without setting DataSourceName, DataTableName and CommandType </td> </tr> </table> <a name="ServicesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services - Details</td> </tr> <tr/> <tr> <td class="imdetail"><a name="TextFieldMaster" class="membertitle">::com::sun::star::<a href="../module-ix.html">text</a>::<a href="../TextFieldMaster.html">TextFieldMaster</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt>(referenced entity's summary:)</dt> <dd>A ::com::sun::star::<a href="../module-ix.html">text</a>::<a href="../TextFieldMaster.html">TextFieldMaster</a> specifies important data for its ::com::sun::star::<a href="../module-ix.html">text</a>::<a href="../DependentTextField.html">DependentTextField</a>s. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Properties' Details</td> </tr> <tr> <td class="imdetail"><a name="DataBaseName" class="membertitle">DataBaseName</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>DataBaseName</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the database name. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CommandType" class="membertitle">CommandType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>long <b>CommandType</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the CommandType this can be the name of a data base table, a data query or a statement. (0 = table, 1 = query, 2 = statement) </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DataTableName" class="membertitle">DataTableName</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>DataTableName</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the command string. Depending on the CommandType property this can be the name of a data base table, a data query or a statement. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DataColumnName" class="membertitle">DataColumnName</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>DataColumnName</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the name of the data base table. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DataBaseURL" class="membertitle">DataBaseURL</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>DataBaseURL</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>indicates the URL of a database file. </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.0</dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DataBaseResource" class="membertitle">DataBaseResource</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>DataBaseResource</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>indicates a connection URL, which locates a database driver. </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.0</dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Name" class="membertitle">Name</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>Name</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>contains the DataColumnName but it enables the fieldmaster and its depending fields to work without setting DataSourceName, DataTableName and CommandType </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.3</dd> </dl> </td> </tr> </table> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>