Solved

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

Posted on 2014-09-10
3
437 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 119

Accepted Solution

by:
Rey Obrero 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now