PC Review


Reply
Thread Tools Rate Thread

Auto Selecting value in combo box

 
 
=?Utf-8?B?Sm9jaGVu?=
Guest
Posts: n/a
 
      10th Jul 2007
I have a form where i can enter a persons information. The company can be
selected through a dropdown list.
In case the company isn't already in the list, you can add it by clicking an
"add-button" right next to the combo box.
I used the requery function so that the new company appears in the list
immediatly.

What i would like to have is that every time I enter a new company through
this popup form, when the combo requeries, it should also select the last
entry so i don't have to go look for it between all the other company's

my apologies for my english
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmFja2llIEw=?=
Guest
Posts: n/a
 
      10th Jul 2007
What you can do is put code on your pop up form where you enter the new
company. Like on the After Update Event of the NewCompany field:

Forms!frmMainForm!CompanyField = Me.NewCompany

Hope this helps.
Jackie

"Jochen" wrote:

> I have a form where i can enter a persons information. The company can be
> selected through a dropdown list.
> In case the company isn't already in the list, you can add it by clicking an
> "add-button" right next to the combo box.
> I used the requery function so that the new company appears in the list
> immediatly.
>
> What i would like to have is that every time I enter a new company through
> this popup form, when the combo requeries, it should also select the last
> entry so i don't have to go look for it between all the other company's
>
> my apologies for my english

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Select a value in the 2nd combo box before selecting 1st combo box =?Utf-8?B?cG90dGVy?= Microsoft Access Forms 0 12th Mar 2006 07:04 AM
Auto-Selecting An Item In A Combo Box Morris.C Microsoft Access 5 22nd Jun 2005 04:37 AM
Re: Auto fill fields of a table when selecting a combo box option John Vinson Microsoft Access 1 8th Sep 2004 10:59 PM
Re: Auto fill fields of a table when selecting a combo box option '69 Camaro Microsoft Access 0 7th Sep 2004 09:56 PM
Re: Auto fill fields of a table when selecting a combo box option M Skabialka Microsoft Access 0 7th Sep 2004 09:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:19 PM.