Solved

using onclick events with a listview control

Posted on 2003-10-31
3
849 Views
Last Modified: 2007-12-19
Hi,

I'm using a listview control in my access app.

would like to trigger an event that returns the value of the first column when I click a row.

I can't seem to find the way to do this?

Any help / URL's with good reference are very welcome!
0
Comment
Question by:palloquin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
Kevin_S earned 125 total points
ID: 9657424
0
 

Author Comment

by:palloquin
ID: 9657626
Hi Kev,

ThanX so far... i should have checked the MSDN myself... I'm not having my day!

No matter what I do I can't seem to attach an event...

I tried:

myListView.addOnColumnClick (mytest) AND
myListView.addOnColumnClick (mytest())

And a few more versions...

Could you please help me with an example... As I said, not having my day...

ThanX a lot!
0
 
LVL 39

Expert Comment

by:stevbe
ID: 9657837
you cannot capture the click of a particular column you can only catch the click of the control itself

Private Sub myListView_Click()
  ' your code goes here
End Sub

Steve
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
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…

751 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