run-time error '-2147417848 (80010108)':method 'add' of object 'listrows' failed

  • When I execute the ADD button I get an error message:


    run-time error '-2147417848 (80010108)':method 'add' of object 'listrows' failed


    However, if I remove the "ListBox2" it works fine.


    Any help would be appreciated.
    ****************************************************************


  • Re: run-time error '-2147417848 (80010108)':method 'add' of object 'listrows' failed


    Quote from akbarnikain;783456

    However, if I remove the "ListBox2" it works fine.


    What exactly does that mean?

    Rory
    Theory is when you know something, but it doesn’t work. Practice is when something works, but you don’t know why. Programmers combine theory and practice: nothing works and they don’t know why

  • Re: run-time error '-2147417848 (80010108)':method 'add' of object 'listrows' failed


    Yes, but what does that statement actually mean? The code works if you remove the listbox from the form, or it works if you remove the line that refers to Listbox2?

    Rory
    Theory is when you know something, but it doesn’t work. Practice is when something works, but you don’t know why. Programmers combine theory and practice: nothing works and they don’t know why

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!