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
