Function from another form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BeginnerVBProg
    New Member
    • Jan 2012
    • 1

    Function from another form

    I have a Public function in 1 form, its purpose is to load data into a listview, but why it doesn't work when i called it in another form?

    I used these line of codes but they doesn't work:
    Code:
    Call form1.loadAudit
         Form1.loadAudit
    loadAudit is my function..
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Can you give us a bit more detail? How is it defined? What does "doesn't work" mean, specifically?

    I'd guess it's actually a Sub rather than a Function, but of course I don't have much info to go on.

    Comment

    Working...