Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 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 March 30th, 2006, 11:21 AM
Registered User
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Search / Add data in a ComboBox

Hi,

I’m using VB 2005 and SQL Server 2005.

I have a ComboBox which displays data from a table. It displays colours, like red, green and blue.

What I would like to do, is if the user puts a colour in the ComboBox which doesn’t exist in the table, it asks the user if they want to add this colour to the table.

So if the user keys black and black is not a choice in the ComboBox, it adds black to the table.

Does anyone have a sample app showing this working ?

Thanks so much. Any help much appreciated.

Thanks,





Similar Threads
Thread Thread Starter Forum Replies Last Post
Search by User_Name with combobox Grafixx01 Access 2 May 25th, 2007 08:27 PM
Search / Add data in a ComboBox Sudoku Pro VB Databases 1 May 4th, 2006 07:51 PM
How to add search functionality to unbounded form? method Access VBA 4 June 24th, 2005 06:40 AM
add same data in diff table / search yylee Access VBA 8 April 13th, 2004 02:39 AM
Add ComboBox into DataGrid(WinForm) shiju VS.NET 2002/2003 1 November 1st, 2003 11:50 PM





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