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!

combobox doesn't display new record after adding new item

Status
Not open for further replies.

gdev

Technical User
Mar 12, 2001
38
0
0
Hi,

I have unbound combo box that uses the findfirst method in the afterupdate event to display records on main form.
After adding a new item to the combo box using the notinlist event, the afterdate event findfirst method does not display the new record until I close and reopen the form. The new name will appear in the name text field.

I have used cbocallerid.requery and me.refresh. Nothing works.

Please help

Thanks

Gwen
 
And this ?
cbocallerid.RowSource = cbocallerid.RowSource

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks for responding

Unfortunately,it didn't work, cbocallerid.RowSource = cbocallerid.RowSource.


Gwen
 
Try...

Me.cbocallerid.RowSource = Me.cbocallerid.RowSource

or in the properties of the cbocallerid copy the rowsource and then paste it in your code where you reset the rowsource.

me.cbocallerid.RowSource = "Select...."

hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top