Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 519715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:04:10+00:00 2026-05-13T08:04:10+00:00

I have a form in Access with a combobox on it. The combobox gets

  • 0

I have a form in Access with a combobox on it.

The combobox gets the displayed values through an SQL select statement by
means of the RowSource property which is set to something like
select description, id_of_table, col_foo from tblTable

Since I usually need the selected id_of_table, the property BoundColumn is set to 2. So, I can access this value (for example in an AfterUpdate Event) like
var_id_of_table = me.cboWhatever
which works with no problems.

Now, at times, I do not only need id_of_table but also the value of col_foo. So, the question is, how would I go about getting this desired value. I thought I could get it by
something like
var_foo = me.cboWhatever("col_foo")
but it didn’t work.

I’d appreciate any input on this matter.

Thanks / Rene

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:04:11+00:00Added an answer on May 13, 2026 at 8:04 am

    You need:

    var_foo = me.cboWhatever.column(n)
    

    Where n is the column number starting from 0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following situation: I built an Access form with a subform (which
I have a combobox on a web form. The user can select a single
I have an MS Access form, which is write protected and I am unable
I have an Access form where each record has some info that is computed
I have asp.net form that contains fields. When I access this window, my javascript
I have subclassed Form to include some extra functionality, which boils down to a
I have a form in Microsoft Access 2007 called System, and a combo box
I have a form called Group in my MS Access ADP. On it is
In an MS-Access form, I have the following code attached to an event: Dim
I am using Access 2003 and I have a form that collects some filtering

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.