Subject | RE: [IBO] IB_combobox , items and itemValues properties not working as expected. |
---|---|
Author | wreymed |
Post date | 2003-07-05T19:29:39Z |
Well stumbled accross the answer myself.
I had the Property Style set to csDropDown, and changing this to
csDropDownList, caused the integer value in itemvalues property to be
stored.
Thanks anyway
Adrian
-----Original Message-----
From: wreymed [mailto:wreymed@...]
Sent: 05 July 2003 09:05
To: ibobjects @ yahoogroups.com
Subject: [IBO] IB_combobox , items and itemValues properties not working
as expected.
Dear All
Thank you for helping.
I want to display the following values for example in a IB_ComboBox
Red, Green, Orange, Yellow.
I want to store the folowing integer values in the actual field in the
database:
1, 2,3,4; ie 1 = red, 2 = Green etc.
I thought that I could place the items in the Items property, and the
actual
values that will be stored in the ItemValues property, but this does not
seem to have an effect, as actually trying to store red in the integer
field
instead of 1.
All help no matter how trivial will be appreciated.
Regards
Adrian
Yahoo! Groups Sponsor
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
I had the Property Style set to csDropDown, and changing this to
csDropDownList, caused the integer value in itemvalues property to be
stored.
Thanks anyway
Adrian
-----Original Message-----
From: wreymed [mailto:wreymed@...]
Sent: 05 July 2003 09:05
To: ibobjects @ yahoogroups.com
Subject: [IBO] IB_combobox , items and itemValues properties not working
as expected.
Dear All
Thank you for helping.
I want to display the following values for example in a IB_ComboBox
Red, Green, Orange, Yellow.
I want to store the folowing integer values in the actual field in the
database:
1, 2,3,4; ie 1 = red, 2 = Green etc.
I thought that I could place the items in the Items property, and the
actual
values that will be stored in the ItemValues property, but this does not
seem to have an effect, as actually trying to store red in the integer
field
instead of 1.
All help no matter how trivial will be appreciated.
Regards
Adrian
Yahoo! Groups Sponsor
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]