GeoMatchingMethod with result "0" ???

Anonymous
11-05-2004, 09:58 AM
Hi,

I work with MapPoint and VB, and I use the MatchingMethod property of a Recordset.
Sometimes I find the result 0...
But this value correspond to nothing (in GeoMatchingMethod values), the programmer's guide doesn't notice that.

Can someone help me?

Thanks a lot,
geoMatchWoman

Anonymous
11-18-2004, 02:40 PM
I am using something like this...so try this

Public Function MatchFirst(Name As String, Results As MapPoint.FindResults) As Long

If Results.Count > 1 Then
MatchFirst = Results.Count
ElseIf Results.Count = 1 Then
MatchFirst = 1
Else
MatchFirst = 0
End If


End Function

 
Web mp2kmag.com
mapforums.com