|
-
Nov 8th, 2003, 06:00 PM
#1
Thread Starter
Addicted Member
Declaring a listview [RESOLVED]
I have a form which contains ListView1. I am trying to call the sub Populate from a module, but am getting an error that ListView1 is not declared. If I run it from the form_load it will work fine. What do I need to do to fix this?
Module modCensus
Public Sub Populate()
'Set the view to show details
ListView1.View = View.Details
End Sub
End Module
Last edited by GSIV; Nov 10th, 2003 at 10:13 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|