Wrox Programmer Forums
BOOK: Beginning Access VBA
This is the forum to discuss the Wrox book Beginning Access 2002 VBA by Robert Smith, Dave Sussman, Ian Blackburn, John Colby, Mark Horner, Martin Reid, Paul Turley, Helmut Watson; ISBN: 9780764544026
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Access VBA 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 January 5th, 2007, 01:49 PM
bph bph is offline
Friend of Wrox
Join Date: Dec 2003
Posts: 102
Thanks: 2
Thanked 0 Times in 0 Posts
Default combo box

I have a form which was created based on one table, basically 13 text boxes displaying information, and I can move from record 1 to record 2 and so on.

I changed one text box to combo box (cbox1) and put a query in the rowsource to select the value for that combobox.

I need all the other values (textboxes) on the form to change based on the value selected from the list of cbox1.

How do I do this?

Thanks, Brian

Old March 15th, 2008, 06:49 AM
Authorized User
Join Date: Jan 2006
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts

make the combo box multi column
then write the ff codes
e:g if column2 is the column nos u want to auto enter,and empnos is the name of combo box containing the row source,and empaddress is the name of the field in the active form that u want data to be auto entered into then

on the after update event of empnos enter

Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate a text box from a combo box value dnf999 Access VBA 7 February 6th, 2012 02:24 PM
Combo box to display items from parent combo box Gini Visual Studio 2008 0 June 18th, 2008 12:30 AM
Count in combo box(display results in text box) mboyisis Access 4 April 4th, 2008 07:08 AM
Combo box choice creating filtered combo box stevensj5 Access 11 September 13th, 2007 11:33 AM
Populate List Box by Combo Box Selection mmcdonal Access 2 June 15th, 2004 12:08 PM

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