Wrox Programmer Forums
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics 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
Old November 19th, 2003, 04:08 PM
Registered User
Join Date: Nov 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combo Boxes

I set up a WinForm that has Physician names (Last Name, First Name, Middle Name). I then added a combo box that is flooded with facility names from a dataset. The user can pick a facility to associate with the Physician and then hit the Update button and will update the underlying SQL table.

The problem is when I navigate through the records, the data in the combo box changes like I want it to, but sometimes it's like the facility in the combo box 'sticks'. When navigating through the records the facility name won't change till like 3 or 4 records later, this happens navigating forward and backwards.

Any help would be appreciated.

Old November 22nd, 2003, 10:49 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000

if possible clear what u mean with code, and sql statments

Ahmed Ali
Software Developer
Old December 10th, 2003, 05:20 PM
Authorized User
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts

If you are using bound controls its not unusual for the controls to take a long time to refresh. I usually use unbound controls and populate them programmatically.

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 socoolbrewster Access 1 March 4th, 2004 09:28 AM
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

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