Hi, I am trying to access documents using vb6 and OLE.
Below is a snippet of the code I have written.
StartQuery seems to return the same result whatever the parameters and FetchNext always returns false with docid = 0.
If FetchNext is called over it does scan through all of the documents but never returns the docid and always returns false.
'----------------------------------------------------------
If objMaxDocQuery.StartQuery("Maximizer enterprise", True, StartDate, EndDate, True) Then
FetchResult = objMaxDocQuery.FetchNext(DocID)
End If
'----------------------------------------------------------
Any Help would be appreciated
Neil.
Original Post