CLEAR ALL loQuickAddress = Createobject( "QAS.QAProWeb" ) =COMARRAY(loQuickAddress, 10) &&10 = zero based pass by reference RELEASE asSearch, asPreviews, asTags, aiFlags, aiScores, iPotential DIMENSION asSearch[2] AS Variant DIMENSION asPreviews[1] AS Variant DIMENSION asTags[1] AS Variant DIMENSION aiFlags[1] AS Variant DIMENSION aiScores[1] AS Variant DIMENSION iPotential[1] AS Variant iPotential = 0 asPreviews = "" asTags = "" aiFlags = 0 aiScores = 0 asSearch[1] = "47" asSearch[2] = "SK11 9XX" loQuickAddress.Search(0, "GBR", 1, asSearch, @iPotential, @asPreviews, @asTags, @aiFlags, @aiScores)This returns "OLE error code 0x80070057: The parameter is incorrect."
Search(dwFlags As Unsigned Long, strDataID As String, iPromptSet As Integer, astrFields As Variant, piPotentialResults As Variant, pastrPreviews As Variant, pastrTags As Variant, paiFlags As Variant, paiScores As Variant) As VoidAny ideas why I'm getting the error?