|
-
Jun 28th, 2004, 09:56 AM
#1
Thread Starter
New Member
TDBCombo, additem Mode and Bookmarks
Hi All,
I have a question I hope you all can help me with. I'm using several TDBCombos in my app and I would like to set the bookmark of each item added to the list with a code. Is this possible.
What I would like to be able to do is follows:
When setting the value of the control from the database. I would like to be able to take the code that is saved in the database, and use this value to set the display text for the combo. Ok, If the value stored in the database was 3, I'd like to use something like this:
tdbcombo1.SelectedItem = 3
If these code where all in sequence starting at 0 it appears that it may work, but right now I have codes that skip like this
1, 2, 3, 9, 10, 11, 12, 13. And so far none of the codes start at 0. What do you all think. Thanks for any help.
Michael Lee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|