I'm trying to write a COM object that will return the results from an index server search. The search works fine from ASP, but when I put it into the COM object, I get a "Type Mismatch" error.
Any help will be appreciated! Thanks, Kevin
Code:
--------------
Public Function myData (ByRef varData As Variant) As Variant
Redim varData(i, k) 'redim to variables set elsewhere
.... carry out search and read in values to array
End Function
--------------
And from the ASP page
--------------
Dim varData
mData(varData) 'This is where the type mismatch occurs!
---------------