A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to refresh the list in a combo box..



 
 
Thread Tools Display Modes
  #1  
Old June 1st, 2004, 06:39 AM
Paul
external usenet poster
 
Posts: n/a
Default How to refresh the list in a combo box..

I have an "unbound" combo box in an "unbound" form and the rowsource of the
combo box is based on a field on a table. I also assigned the "On NotInList"
event to the combo box to open another form to add the new value to that
table for the combo box rowsource. The problem is when I close the second
form, the new item I just added to the second form does not show up in the
drop list in the first form. How to refresh the combo box in the first form
when I close the second form. thanks


  #2  
Old June 1st, 2004, 08:36 AM
Gerald Stanley
external usenet poster
 
Posts: n/a
Default How to refresh the list in a combo box..

After returning to the NotInList eventHandler from the
form, do you set the Response to acDataErrAdded before exiting?

Hope This Helps
Gerald Stanley MCSD
-----Original Message-----
I have an "unbound" combo box in an "unbound" form and the

rowsource of the
combo box is based on a field on a table. I also assigned

the "On NotInList"
event to the combo box to open another form to add the new

value to that
table for the combo box rowsource. The problem is when I

close the second
form, the new item I just added to the second form does

not show up in the
drop list in the first form. How to refresh the combo box

in the first form
when I close the second form. thanks


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.