PC Review


Reply
Thread Tools Rate Thread

combo box update

 
 
=?Utf-8?B?S2VsbGV5SA==?=
Guest
Posts: n/a
 
      31st Jan 2006
I'm creating an address list form which allows me to add an item, an
organization, or choose the org. from a combo box. I want to type in the new
org., complete the record, go to the next record and add the new org., to the
new record by choosing it from a combo box. I am able to add the new item,
however it will only display in the combo box after I enter and return from
Design view. How do I make the new org. appear in the combo box when I enter
the next record.
 
Reply With Quote
 
 
 
 
John Vinson
Guest
Posts: n/a
 
      31st Jan 2006
On Mon, 30 Jan 2006 21:28:27 -0800, "KelleyH"
<(E-Mail Removed)> wrote:

>I'm creating an address list form which allows me to add an item, an
>organization, or choose the org. from a combo box. I want to type in the new
>org., complete the record, go to the next record and add the new org., to the
>new record by choosing it from a combo box. I am able to add the new item,
>however it will only display in the combo box after I enter and return from
>Design view. How do I make the new org. appear in the combo box when I enter
>the next record.


Set the Combo Box's Limit to List property to True, and use some VBA
code in its Not In List event to add the new record to the
organization table. The Help topic for Not In List gives a pretty good
example of how this is done - post back if you need more help.

John W. Vinson[MVP]
 
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
Update Combo Box when Not In List and update related info in form bymarce Microsoft Access Form Coding 1 14th Feb 2009 12:36 AM
Update combo box in subform (After Update event) =?Utf-8?B?S2FybA==?= Microsoft Access Forms 10 4th Apr 2006 07:45 PM
Update second combo box when first combo box is selcted =?Utf-8?B?TGF3cmVuY2U=?= Microsoft Access Getting Started 2 23rd Feb 2006 10:54 AM
Update one combo based on another combo Tara Microsoft Access Forms 3 21st Feb 2005 07:48 PM
Update combo box choice based upon another combo box Todd Microsoft Access Getting Started 1 17th Nov 2003 06:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:51 PM.