Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListView - Missing Data

Status
Not open for further replies.

agfon

Programmer
Mar 25, 2005
38
US
I have a frontend database which has been distributed to several users. It uses a ListView control 6.0 to display data from a queried recordset.

After the ListView is populated, some users see an empty ListView. There are only blank rows. Through some testing, I've determined that the data is present but not visible.

A report can be launched based upon the data in the ListView. The report is fine and displays all the data. Once the report is closed, the ListView's data becomes visible. Afterwards, the data is always visible until the database is closed and reopened.

I've researched this issue extensively and found that the View and Sorted properties can lead to similar problems. However, I've set them as recommended without success.

Only some users have this issue. The ListView populates and displays the data just fine on the other's. Everyone appears to be using the same software versions. The security settings do not appear to be an issue.

I would really appreciate any direction on this issue.

Thanks.

-agfon
 
I was finally able to find a work around to this issue. It doesn't explain why it happens to begin with, but it resolves the problem for the time being.

After populating the ListView with data, I did the following:

[blue] With Form_MyForm
.my_ListView.Visible = False
.my_ListView.Visible = True
End With
[/blue]

It seems that the quick change in the visible property makes the difference.

-agfon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top