Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 21st, 2006, 09:27 AM
Registered User
Join Date: Oct 2004
Location: Snaith, East Riding of Yorkshire, United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combo Box Problem

I have a combo box that selects two fields from a table, ID and Description, binding on ID, displaing only Description. There is an AfterUpdate event that limits the selection in a second combo box based on the users selection.
This works very well.
When I go back into a saved record the data is displayed correctly in these combo boxes. However, when I close the form containing the record I am asked for the value in the first combo box. This only happens when I go into the form and do not change the value in the first combo box. If I change the selected record then the form closes down fine and the changes are saved. This one is driving me crazy, any help would be appreciated.

  #2 (permalink)  
Old September 21st, 2006, 10:35 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

What do you mean by "I am asked"? Do you mean an input box appears? Could it be a query is being run that is a parameter query on the form's ON CLOSE event?

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo box to display items from parent combo box Gini Visual Studio 2008 0 June 18th, 2008 12:30 AM
Combo box choice creating filtered combo box stevensj5 Access 11 September 13th, 2007 11:33 AM
Problem with Combo Box ru1 Access 1 October 20th, 2006 06:32 AM
Combo box problem diegoblin Beginning VB 6 2 October 4th, 2006 05:32 PM

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