For some strange reason Access won't allow me to assign a variable to a listview:
Dim lvTemp As MSComctlLib.ListView
Set lvTemp = Me.LVResults
Returns "type mismatch" error???
Re-created the database from scratch added the Listview from the activex control list which added reference:
Microsoft Windows Common Controls 6.0 (SP3) - file: mscomctl.ocx
The listview works fine no issues adding stuff to it, but everytime I try and assign it to a control (so I can get the HWND of it) I get a "Type Mismatch" error.
How is this possible if Access adds the reference itself? Also if I just type:
Dim lvTemp as ListView
I get the same error message.....!