Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How to bind a combo box's ItemIndex property to an Integer column


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
Brian Wheatley

Posts: 60
Registered: 2/5/01
How to bind a combo box's ItemIndex property to an Integer column  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 28, 2016 8:11 AM
Hello,

I have a combo box set up to display a pre-defined list of items (strings) and I am trying to bind the ItemIndex property to an Integer column in the database table. However, the link does not appear to be working and when I try to save the record I receive a message that the integer property cannot be null (which it can't).

I wanted to insert a picture showing this but your editor does not seem to allow this... [Sample Image|http://www.scalesoftdevelopment.com/LiveBindings/ItemIndex.png]

How do I bind the ItemIndex property to an integer column and make it work?

Thank you,
Brian
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02