Solved

reference combo box on form problem specific column from a function call

Posted on 2014-09-10
3
442 Views
Last Modified: 2014-09-10
Access 2010 vba.

Simply trying to reference a combo box on a form to get a value.  from a function call

' s2 = "BR2GCK"
      s2 = Forms!Form1![Combo5].Column(1)


ME keyword will not work in this case.
cant seem to get the syntax right

Thanks
fordraiders
0
Comment
Question by:fordraiders
  • 2
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 40314738
is this giving you a problem

  s2 = Forms!Form1![Combo5].Column(1)

did you set the Column Count of the combo to at least 2

.Column(1)  refers to the 2nd column of the row source of the combo box.
0
 
LVL 3

Author Comment

by:fordraiders
ID: 40314790
brain lapse..
Thanks
0
 
LVL 3

Author Closing Comment

by:fordraiders
ID: 40314792
thanks
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question