Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing combobox data

Status
Not open for further replies.

GBall

Programmer
May 23, 2001
193
0
0
GB
Hi,
I've tried
cboBlah.Refresh() and
cboBlah.Update(),
but the list is not updated when I add a new item to the datasource to which it is bound.
The cbo gives me a list of oracle tables within a schema and the form adds a new table dynamically.
I just want to see the new table in the drop-down list.
thanks.

Regards,
Graham
 
Try using the BindingContext Class with your combobox and call SuspendBinding before adding the new item, then ResumeBinding.
 
Sorry for the delay, it's been a long weekend here (UK).
How do I go about using the binding class ?

Regards,
Graham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top