Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 3rd, 2004, 07:40 PM
Friend of Wrox
 
Join Date: Aug 2003
Location: Warks, Warks, United Kingdom.
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combo boxes


I have created a form that allows users to navigate through a database. Within this form users can also add a record by clicking a button. The form has three input fields which are bound text boxes to fields in a database. I was wanting to change one of these text boxes to a drop down list using a combo box allowing users to select a choice for a particular input when required to do so.

My question is can a combo box be used to show data for a particular record when a user navigates through the records, yet also provide an input selection when a user decided to input a new record?

Could somebody advise me if this is possible? Am I making sense?

Gaz
__________________
Gaz
Reply With Quote
  #2 (permalink)  
Old March 4th, 2004, 09:28 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

To reduce confusion to the users, those two functions, i.e. navigation and input, should be separated. You can have a dropdown with choices in it that moves the user to the desired records when changed, e.g. company name. Set Limit to List = YES because you're just navigating... moving to a record of existing companies. If a NEW record is desired, one of the choices in the dropdown can be "Add New". In that way, Access will navigate to a new record.

Then below in another area of the form, you actually enter/edit the info you navigated to, including a (second) field to enter company name. You can make that second field a dropdown, too, so that people can choose from existing company names; but the second dropdown is not to navigate anywhere, it's just to fill in the company name for that record. Set Limit to List = NO so you can add a totally new company name if needed.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo Boxes nbuckwheat Access 1 January 15th, 2006 09:26 AM
3 combo boxes ttkt Beginning PHP 0 July 2nd, 2005 02:20 PM
Combo Boxes tjs206 VB Databases Basics 2 December 10th, 2003 05:20 PM
combo boxes damnnono_86 Access 2 October 15th, 2003 09:00 PM
Combo Boxes Louisa Beginning VB 6 2 September 10th, 2003 09:26 AM



All times are GMT -4. The time now is 02:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.