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  

update combobox



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2004, 09:10 AM
beppe005
external usenet poster
 
Posts: n/a
Default update combobox

I have a start up (or autoexec) form with a combo box which lists the
clients' names (I need it for a parameter query). These names are entered in
another form, which starts with a control button in the same startup form,
and then are sorted in the query "clients_list".

The combobox of the startup form is not updated unless I rerun it. I would
like to keep the startup form always "on top", add my clients and to all the
other operations, and have the combo box updated without restarting the
form. Is it possible to do so?

Thanks in advance.
Beppe


  #2  
Old July 12th, 2004, 09:59 AM
Steve Schapel
external usenet poster
 
Posts: n/a
Default update combobox

Beppe,

I think it will achieve your purpose to put code like this...
Me.NameOfYourCombobox.Requery
.... on the Enter event of the combobox.

--
Steve Schapel, Microsoft Access MVP


beppe005 wrote:
I have a start up (or autoexec) form with a combo box which lists the
clients' names (I need it for a parameter query). These names are entered in
another form, which starts with a control button in the same startup form,
and then are sorted in the query "clients_list".

The combobox of the startup form is not updated unless I rerun it. I would
like to keep the startup form always "on top", add my clients and to all the
other operations, and have the combo box updated without restarting the
form. Is it possible to do so?

Thanks in advance.
Beppe


 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Jet --> MS Access Data Source: How to obtain Update lock André Hartmann Running & Setting Up Queries 1 July 16th, 2004 12:21 PM
Avoid Null value in ComboBox - MS Access 2000 Wayne Morgan Using Forms 1 July 8th, 2004 04:05 AM
Update another table with a Max record query Ngan Running & Setting Up Queries 2 June 22nd, 2004 05:01 PM
Update combobox "on the fly" Ed Robichaud New Users 3 June 11th, 2004 04:07 AM
combobox filter AliKural New Users 7 May 4th, 2004 11:26 AM


All times are GMT +1. The time now is 07:56 AM.


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