473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Pulling Multiple Columns from a Combo Box

I have a form with several combo boxes in it.

The combo boxes have columns titled:
BulletID, BulletPoint, Rating

When a user selects the BulletPoint they want, that BulletPoint is
entered into a table.

I want that to continue to happen and to have "Rating" iserted into
another table.

Any suggestion?

May 11 '06 #1
2 5154
Into another "Table"? or another field?

you can reference the other fields of a combo as follows

me.comboboxname - points to the bound column what
ever it is.

me.comboboxname.column(0) - points to first column of data
(bulletID)
me.comboboxname.column(1) - points to second column of data
(bulletPoint)
me.comboboxname.column(2) - points to third column of data
(bulletRating)

etc

May 11 '06 #2
"Jourdan" <ex******@msn.com> wrote in
news:11**********************@i40g2000cwc.googlegr oups.com:
I have a form with several combo boxes in it.

The combo boxes have columns titled:
BulletID, BulletPoint, Rating

When a user selects the BulletPoint they want, that
BulletPoint is entered into a table.

I want that to continue to happen and to have "Rating" iserted
into another table.

Any suggestion?

You have to use the combobox.column() property to get the value.

From ACC2K3 help:
expression.Column(Index, Row)

expression Required. An expression that returns one of the
objects in the Applies To list.

Index Required Long. A long integer that can range from 0 to
the setting of the ColumnCount property minus one.

Row Optional Variant. An integer that can range from 0 to the
setting of the ListCount property minus 1.

Remarks
Use 0 to refer to the first column, 1 to refer to the second
column, and so on. Use 0 to refer to the first row, 1 to refer
to the second row, and so on.

--
Bob Quintal

PA is y I've altered my email address.
May 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Skully Matjas | last post by:
I am using the following code (created by the wizard) to allow to bring my form to a particular entery. But when I edit the entery (ex: put new information into a blank cell), it puts that record...
2
by: Brian | last post by:
Hope you all had a great holiday. I have a subform with a table with a combo box based on a select query. The combo box is set to display in a form in datasheet view. When I click the down...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
3
by: Thomas Beyerlein | last post by:
I was hoping there is a way to load multiple columns from a dataset into a combo box? Tom *** Sent via Developersdex http://www.developersdex.com ***
1
by: ratethebuilder.co.uk | last post by:
Hi I am trying to replicate a drop down combo box in C# that I have in a MS Access form. The combo box has three columns, each of which comes from a different field in the database. I can...
1
by: Shawn Yates | last post by:
It has been a while since I have done anything on MS Access and I seem to be a bit rusty. I hope someone could help me solve my issue. I have a form that has multiple combo boxes on it. Each box...
3
by: dancole42 | last post by:
I have an InvoiceLines subform on an invoice table. In the subform, I have the following fields that are bound to the actual InvoiceLines table: Class (the type of product) Product (the...
3
by: Nepenthen | last post by:
Hello – I am still new to Access and I am currently working on debugging some code. I have a form with the following: Employee Name (combo with select all choice) Task (combo with select all...
2
by: MicaK | last post by:
Good Morning, I am new to this forum, and extremely new to VBA, so there may be a very simple explanation to this. I also apologize if I am giving you and excessive amount of detail. I have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.