|
Home > Archive > dBASE Programming > January 2007 > combobox, adding to datasource
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
combobox, adding to datasource
|
|
|
| I have a combobox, and if a selection is not already in datasource I provide a "NEW" pushbutton to allow the user to add the required item to the datasource. That works okay, however the new datasource item does not appear in the combobox list until you
leave the form and re-enter. I have tried opeining the datasource with another Aliias as well as refreshing both datasource and datalink without success. Any thoughts would be welcome?
| |
|
| Problem solved after realizing that a combobox does not link to the datasouce so a change in the datasource is not avaialble to a routine
JAS Wrote:
> I have a combobox, and if a selection is not already in datasource I provide a "NEW" pushbutton to allow the user to add the required item to the datasource. That works okay, however the new datasource item does not appear in the combobox list until yo
u leave the form and re-enter. I have tried opeining the datasource with another Aliias as well as refreshing both datasource and datalink without success. Any thoughts would be welcome?
| |
| Bruce Beacham 2007-01-09, 1:30 am |
| JAS wrote:
> Problem solved after realizing that a combobox does not link to the datasouce so a change in the datasource is not avaialble to a routine
You can re-state a datasource, or a datalink (where relevant), or a
datalink's lookupsql (where relevant), to refresh a combobox's population.
Bruce Beacham
|
|
|
|
|