Top   Module   Use   Manual   Index 
 INCLUDED SERVICES | EXPORTED INTERFACES | PROPERTIES' SUMMARY | PROPERTIES' DETAILS 

com :: sun :: star :: form :: component ::

service DatabaseListBox

Description
This service specifies a data-aware ListBox.


Included Services

com::sun::star::form::component::ListBox
com::sun::star::form::DataAwareControlModel
Description
is an abstract service for specialized FormControlModel s which are data aware and thus can be bound to a data source.

Properties' Summary

BoundColumn 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 "DataField".
ListSourceType describes the kind of list source used.

Properties' Details

BoundColumn
 
short BoundColumn;
Description
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 "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 TABLE, QUERY, SQL or SQLPASSTHROUGH. Otherwise the property is ignored, as there is no result set from which to get the column values.
ListSourceType
 
com::sun::star::form::ListSourceType ListSourceType;
Description
describes the kind of list source used.

Top of Page