<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=EN%2Fdocumentation%2Fbasic_guide%2Fdatabase_forms</id>
	<title>EN/documentation/basic guide/database forms - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=EN%2Fdocumentation%2Fbasic_guide%2Fdatabase_forms"/>
	<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=EN/documentation/basic_guide/database_forms&amp;action=history"/>
	<updated>2026-11-11T13:53:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.harlamenkov.ru/index.php?title=EN/documentation/basic_guide/database_forms&amp;diff=16888&amp;oldid=prev</id>
		<title>Sancho: Основной текст</title>
		<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=EN/documentation/basic_guide/database_forms&amp;diff=16888&amp;oldid=prev"/>
		<updated>2011-09-06T17:07:03Z</updated>

		<summary type="html">&lt;p&gt;Основной текст&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;section begin=title /&amp;gt;&amp;lt;noinclude&amp;gt;{{DISPLAYTITLE:&amp;lt;/noinclude&amp;gt;Database Forms&amp;lt;noinclude&amp;gt;}}&amp;lt;/noinclude&amp;gt;&amp;lt;section end=title /&amp;gt;{{BreadCrumbL10n}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Documentation/BASICGuideTOC&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|ShowPrevPage=block&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|PrevPage=EN/documentation/basic_guide/control_element_forms&lt;br /&gt;
|form=block&lt;br /&gt;
}}&lt;br /&gt;
 &lt;br /&gt;
{{OOo}} forms can be directly linked to a database. The forms created in this way provide all the functions of a full database front end without requiring independent programming work.&lt;br /&gt;
&lt;br /&gt;
You can page through and search in the selected tables and queries, as well as change data records and insert new data records. {{OOo}} automatically ensures that the relevant data is retrieved from the database, and that any changes made are written back to the database.&lt;br /&gt;
&lt;br /&gt;
A database form corresponds to a standard {{OOo}} form. In addition to the standard properties, the following database-specific properties must also be set in the form:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;DataSourceName (String)&amp;lt;/tt&amp;gt;:name of data source (refer to [[EN/documentation/basic_guide/database_access|Database Access]]; the data source must be globally created in {{OOo}})&lt;br /&gt;
;&amp;lt;tt&amp;gt;Command (String)&amp;lt;/tt&amp;gt;:name of table, query, or the SQL select command to which a link is to be made&lt;br /&gt;
;&amp;lt;tt&amp;gt;CommandType (Const)&amp;lt;/tt&amp;gt;:specifies whether the Command is a table, a query or a SQL command (value from &amp;lt;idl&amp;gt;com.sun.star.sdb.CommandType&amp;lt;/idl&amp;gt; enumeration)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;idl&amp;gt;com.sun.star.sdb.CommandType&amp;lt;/idl&amp;gt; enumeration covers the following values:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;TABLE&amp;lt;/tt&amp;gt;:Table&lt;br /&gt;
;&amp;lt;tt&amp;gt;QUERY&amp;lt;/tt&amp;gt;:Query&lt;br /&gt;
;&amp;lt;tt&amp;gt;COMMAND&amp;lt;/tt&amp;gt;:SQL command&lt;br /&gt;
&lt;br /&gt;
The database fields are assigned to the individual control elements through this property:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;DataField (String)&amp;lt;/tt&amp;gt;:name of linked database field&lt;br /&gt;
&lt;br /&gt;
== Tables ==&lt;br /&gt;
&lt;br /&gt;
Another control element is provided for work with databases, the table control element. This represents the content of a complete database table or query. In the simplest scenario, a table control element is linked to a database using the autopilot form, which links all columns with the relevant database fields in accordance with the user specifications.&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;/div&gt;</summary>
		<author><name>Sancho</name></author>
		
	</entry>
</feed>