Type Mismatch adding pushpin....

Anonymous
11-17-2003, 08:13 PM
To whom,

I was doing a simple example of loading data from a record set into a pushpin. basically I am loading the map by doing a find on city and state from a sales order data recordset then adding a pushpin. It appears that when I have mutilple pushpins for the same city state combo, i receive a "Type Mismatch". The strange thing is that it will do more than one but appears that it can't do more than two.

Is there an issue with loading multiple pushpins onto a map in the same location?

Thank you,
Mike Weaver

John Meyer
11-18-2003, 07:16 AM
I have plotted many pushpins to the same zip code without any problem. Not sure why you would get a mismatch using City/State. Try ZIP and see what happens.

Anonymous
11-22-2003, 10:53 AM
John,

I think I trapped it down to the "index" below.


Set objloc = objMap.FindResults(FindKey)(1)


Thank you,
Taymorza

 
Web mp2kmag.com
mapforums.com