PC Review


Reply
Thread Tools Rate Thread

How can I customize a combo box in an input form?

 
 
=?Utf-8?B?VGlt?=
Guest
Posts: n/a
 
      5th Feb 2005
I have a form that provides input to a Table. In that form there is a combo
box that is supposed to select which record the data is being input to. The
problem is I cant get to the next record by the list in the combo box. The
only way I can change records is by tabbing through all of the fields, then
when I get to the end the combo box automatically changes to display the next
record. How can I get the form to send the data to the record according to
the selected field in the combo box?
 
Reply With Quote
 
 
 
 
John Vinson
Guest
Posts: n/a
 
      5th Feb 2005
On Fri, 4 Feb 2005 16:51:02 -0800, Tim <(E-Mail Removed)>
wrote:

>I have a form that provides input to a Table. In that form there is a combo
>box that is supposed to select which record the data is being input to. The
>problem is I cant get to the next record by the list in the combo box. The
>only way I can change records is by tabbing through all of the fields, then
>when I get to the end the combo box automatically changes to display the next
>record. How can I get the form to send the data to the record according to
>the selected field in the combo box?


A Combo Box has two functions: it can be used to update data in a
table, or it can be used as a navigation tool. These two uses are
pretty much incompatible!

I'd suggest creating a new combo box on the form, using the Toolbox
Wizard. Take the option "use this combo to find a record". It will be
an *unbound* combo - its Control Source property will be blank; and
there will be some wizard-generated VBA code in its AfterUpdate event
to navigate to the selected record.

Note that you don't need to tab through all the fields to move between
records. Unless you've turned them off, there are navigation buttons
at the bottom left of the form; the > key will move to the next
record, < will move to the first, etc. PageDown and PageUp will do the
same.

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
enable a combo box in one form based on input in another form Angela Microsoft Access VBA Modules 6 3rd Apr 2010 10:30 PM
Updating value in form text box based on combo box input burl_h Microsoft Excel Programming 2 30th Dec 2006 02:34 PM
using a form with combo box to input criteria =?Utf-8?B?Q2hyaXN0aW5h?= Microsoft Access Forms 16 3rd Feb 2006 08:47 PM
how to create combo box in form to input criteria in a query =?Utf-8?B?Q2hyaXN0aW5h?= Microsoft Access 3 30th Jan 2006 06:36 PM
Data Input Form using Combo Box =?Utf-8?B?VG9tQw==?= Microsoft Access Forms 0 24th Nov 2004 02:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:43 PM.