Report view in Listview control not working?

Report view in Listview control not working?

Post by Bob Lander » Fri, 13 Apr 2007 09:23:17


Hi all,

I have a listview control on one of my access (2003) forms.

Currently I am populating the control with all the file and sub-folder names
in my templates directory - using a recursive bit of code that utilises the
fso.

I am able to view the results fine if I set the listview's "view" property
to 0, 1 or 2 (big icons, small icons or list). But if I set the darn thing
to 3 (report) I don't see any results.

Has anyone got any pointers on what might be going wrong? (In case it is
relevant, I have not set any column names.)

While I'm at it, has anyone got any pointers on how to set the column widths
when the list results in more than one column? I don't see a property for
this and hitting F1 does bring up any help files.


TIA
Bob
 
 
 

Report view in Listview control not working?

Post by Bob Lander » Fri, 13 Apr 2007 11:58:56

I managed to resolve this by simply adding a column header.

Thanks anyways.

Bob