Hi Folks
This is probably a dumb question, but I have a few labels on a form that are currently unbound, but display data from a data table.
I'd like to be able to feed these controls a code value (1, 2, 3) and have it display a related text value ("One", "Two", "Three") in the text of the control. Sort of like you can do with a ComboBox that has DataSource and DisplayMember properties.
Now I know that a standard label or textbox doesn't have these attributes, but if I wanted to add them how could I do that? I'm already assuming to create a small table with the lookup values to assign it to.
Appreciate any help you can throw at me...
Craig
CraigHartz
This is probably a dumb question, but I have a few labels on a form that are currently unbound, but display data from a data table.
I'd like to be able to feed these controls a code value (1, 2, 3) and have it display a related text value ("One", "Two", "Three") in the text of the control. Sort of like you can do with a ComboBox that has DataSource and DisplayMember properties.
Now I know that a standard label or textbox doesn't have these attributes, but if I wanted to add them how could I do that? I'm already assuming to create a small table with the lookup values to assign it to.
Appreciate any help you can throw at me...
Craig
CraigHartz