Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / October 2004

Tip: Looking for answers? Try searching our database.

Office SP3: Problems with listview

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bodo - 12 Oct 2004 10:59 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.