1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 <!--***********************************************************************
6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 * Copyright 2008 by Sun Microsystems, Inc.
10 * OpenOffice.org - a multi-platform office productivity suite
12 * $RCSfile: 01170002.xhp,v $
15 * This file is part of OpenOffice.org.
17 * OpenOffice.org is free software: you can redistribute it and/or modify
18 * it under the terms of the GNU Lesser General Public License version 3
19 * only, as published by the Free Software Foundation.
21 * OpenOffice.org is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU Lesser General Public License version 3 for more details
25 * (a copy is included in the LICENSE file that accompanied this code).
27 * You should have received a copy of the GNU Lesser General Public License
28 * version 3 along with OpenOffice.org. If not, see
29 * <http://www.openoffice.org/license.html>
30 * for a copy of the LGPLv3 License.
32 ************************************************************************-->
34 <helpdocument version=
"1.0">
36 <topic id=
"textshared0201170002xml" indexer=
"include" status=
"PUBLISH">
37 <title id=
"tit" xml-lang=
"en-US">Special properties of a formatted field
</title>
38 <filename>/text/shared/
02/
01170002.xhp
</filename>
41 <created date=
"2003-10-31T00:00:00">Sun Microsystems, Inc.
</created>
42 <lastedited date=
"2004-09-06T08:43:27">converted from old format - fpe
</lastedited>
46 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3150774"><bookmark_value>formatted fields; properties
</bookmark_value>
47 <bookmark_value>fields; formatted fields
</bookmark_value>
48 <bookmark_value>controls; formatted fields
</bookmark_value>
50 <paragraph role=
"heading" id=
"hd_id3150774" xml-lang=
"en-US" level=
"1" l10n=
"U" oldref=
"131">Special properties of a formatted field
</paragraph>
51 <paragraph role=
"paragraph" id=
"par_id3156410" xml-lang=
"en-US" l10n=
"U" oldref=
"127">
52 <emph>Formatting
</emph>: You can set the
<emph>Formatting
</emph>property by clicking the
<emph>...
</emph>button in the
<emph>Formatting
</emph> line of the
<emph>Properties: Formatted Field
</emph> dialog. The
<emph>Number Format
</emph> dialog appears.
</paragraph>
53 <paragraph role=
"paragraph" id=
"par_id3150443" xml-lang=
"en-US" l10n=
"U" oldref=
"128">If the formatted field is connected to the text field of a database, the entries in this field will be treated as text. If the formatted field is connected to a field of the database that can be displayed as a number, the input is treated as numbers. The date and time are also handled internally as numbers.
</paragraph>
54 <paragraph role=
"paragraph" id=
"par_id3150976" xml-lang=
"en-US" l10n=
"U" oldref=
"129">
55 <emph>Min. value
</emph> and
<emph>Max. value
</emph>: You can enter the minimum and maximum numeric value for a formatted field. The min and max values determine the output of existing data (Example: Min. value is
5, the connected database field contains the integer value
3. The output is
5, but the value in the database is not modified) and the input of new data (Example: Max. value is
10 and you enter
20. The input is corrected and
10 is written in the database). If the fields are not filled in for
<emph>Min. value
</emph>and
<emph>Max. value
</emph>, no limits will be applied. For formatted fields that are connected to a database text field, these two values and the
<emph>Default value
</emph> do not apply.
</paragraph>
56 <paragraph role=
"paragraph" id=
"par_id3153665" xml-lang=
"en-US" l10n=
"U" oldref=
"130">
57 <emph>Default value
</emph>: This value is set for new records as the default value.
</paragraph>