Have added a listview to an Access form but how to access/use?

A

Angus Comber

Hello

On an Access form I selected controls toolbox and selected more controls and
found Microsoft ListView Control 6.0. I have placed control on form but
cannot work out how to do anything with it.

functions for lvPolicies are only three! Requery, SetFocus, SizeToFit.
What about methods to add an item, subitems, etc?

How do I use this thing?

Angus
 
D

Douglas J. Steele

Everything has to be done through VBA.

For a great set of examples of working with the ListView control, take a
look at what Randy Birch has at http://vbnet.mvps.org/code/comctl/index.html

While Randy's site is aimed at VB programmers, and there are many
differences between the controls available for forms in VB and in Access,
meaning that many of his examples will not port directly into Access, I
don't think you should have too many problems with those samples.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top