Hi,
I've installed Office SP3 and get a problem with listview
controls:
On a formwindow I have a tabular control with 2 pages
On page1 is a listview control that is populated with data
from code. The listview property View is set to report.
The listview has one column header.
When I open the form and click on page1 of the tab-control
the listview on that page does not show the data.
However when I switch between pages of the tab-control the
listview shows the data.
These symptoms do not occur with the previous version of
access.
I have set the following references with my access-
database:
Visual Basic for Applications
Microsoft Access 10.0 Object Library
OLE Automation
Microsoft DAO 3.6 Object Library
Microsoft Windows Common Controls 6.0
Form window Code snipset:
Private Sub PopulateListview()
Dim ListV As ListView, lvItem as ListItem
Set ListV = Me!ListView1.Object
ListV.ListItems.Clear
With ListV
Set lvItem = .ListItems.Add
lvItem.Text = "hallo world"
Set lvItem = .ListItems.Add
lvItem.Text = "hallo world #1"
End with
Set ListV = Nothing
End Sub
Private Sub Form_Load()
PopulateListview
End Sub
Any ideas how to resolve the problem?
Thanks in advance
Bodo
Alex Dybenko - 12 Oct 2004 12:18 GMT
Hi,
it is a known bug what you place activex on tab control page. instead you
can place listview on omitself, "above" tab control and make it visible
depending on selected tab
HTH

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
> Hi,
> I've installed Office SP3 and get a problem with listview
[quoted text clipped - 43 lines]
> Thanks in advance
> Bodo