S
Sreppohcdoow
I have a combobox bound to a dataset at design time.
If I add rows to the bound table in code before displaying my control, the
rows show up in the combobox as expected.
However, I want to be able to add items to the combobox at run time... I've
tried the _Leave event to update... i.e., taking the value in the combobox
and adding it to the table, but this doesn't cause the combobox to refresh
it's list...
So I tried adding a textbox and an add button... i.e., taking the value in
the textbox, adding it to the dataset (which I know is working)... but
again, can't figure out how to get the combobox to 'refresh' it's list of
values.
Ideally, I'd like to just use the combobox to add values, but if need be, I
can go the textbox route.
Thx for any help,
MS
If I add rows to the bound table in code before displaying my control, the
rows show up in the combobox as expected.
However, I want to be able to add items to the combobox at run time... I've
tried the _Leave event to update... i.e., taking the value in the combobox
and adding it to the table, but this doesn't cause the combobox to refresh
it's list...
So I tried adding a textbox and an add button... i.e., taking the value in
the textbox, adding it to the dataset (which I know is working)... but
again, can't figure out how to get the combobox to 'refresh' it's list of
values.
Ideally, I'd like to just use the combobox to add values, but if need be, I
can go the textbox route.
Thx for any help,
MS