Hi
I can delete the pushpin but I
cannot refresh the map the new map to show the left Pushpins only
ID = "John Smith"
Set objPin = objMap.FindPushpin(ID)
objPin.Select
objPin.Delete
?? WHAT CODE TO REDRAW NEW DATASET (after a pushpin delete) map ???
What do I add after the last line 'objPin.Delete' to
Redraw the map
Currently the deleted pushpin still appear on the map but not in the Dataset i.e "John Smith" does not appear when the Dataset test is done (see below for the dataset test code)
Set objDataSet = objMap.DataSets("New Set")
Set objRecordset = objDataSet.QueryAllRecords
Do Until objRecordset.EOF
MsgBox objRecordset.Pushpin.Name
objRecordset.MoveNext
Loop
Thanks