Properties' Details |
BoundColumn
short BoundColumn;
- Description
- specifies which column of the list result set should be used for data exchange.
When you make a selection from a list box, the "BoundColumn"
property reflects which column value of a result set should
be used as the value of the component. If the control is bound
to a database field, the column value is stored in the
database field identified by the property
::com::sun::star::form::DataAwareControlModel::DataField.
- 0
- The selected (displayed) list box string is stored in
the current database field.
- 1 or greater
- The column value of the result set at the position is
stored in the current database field.
The bound column property is only used if a list source is defined
and the list source matches with the types
::com::sun::star::form::ListSourceType::TABLE,
::com::sun::star::form::ListSourceType::QUERY,
::com::sun::star::form::ListSourceType::SQL or
::com::sun::star::form::ListSourceType::SQLPASSTHROUGH.
Otherwise the property is ignored, as there is no result set from which to
get the column values.
|
|
ListSourceType
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.