Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Adding pushpins by lat/long or address using MPC in MSAccess within the MapPoint Desktop Discussion forums, part of the Map Forums category; I'm trying to use MPC in an access database form that will allow me to add a pushpin by either ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Adding pushpins by lat/long or address using MPC in MSAccess Could anyone provide a working solution to this problem? Private Sub Form_Current() Dim oMap As MapPoint.map Dim oLoc As MapPoint.location ' If objMap.DataSets(1) <> Null Then On Error Resume Next oMap.DataSets(1).Delete On Error GoTo 0 ' End If Set oMap = MPC.NewMap(geoMapNorthAmerica) MPC.Toolbars.Item("Standard").Visible = True MPC.Toolbars.Item("Navigation").Visible = True oMap.Application.Units = geoMiles If (Me!Latitude) = Null Then Set oLoc = oMap.FindAddressResults(Me![Address1], Me![City], , Me![prov], Me![Country])(1) ElseIf (Me!Latitude) <> Null Then Set oLoc = oMap.AddPushpin(oMap.GetLocation(Me!Latitude, Me!Longitude, 100)) End If oMap.AddPushpin oLoc oLoc.goto Symbol = 82 End Sub |
![]() |
| Tags |
| adding, address, lat or long, mpc, msaccess, pushpins |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding a PushPin from a Long/Lat position | zadic | MapPoint Desktop Discussion | 2 | 10-06-2005 12:33 PM |
| Get address of lat/long | Anonymous | MapPoint Desktop Discussion | 1 | 05-13-2004 10:54 AM |
| Getting the lat/long from an address | Anonymous | MapPoint Desktop Discussion | 1 | 03-25-2004 07:22 PM |
| Adding Pushpins | Matrices | MapPoint Desktop Discussion | 1 | 11-28-2003 10:32 AM |
| Is there a fast way of adding pushpins? | matt1168 | MapPoint Desktop Discussion | 3 | 07-24-2003 09:44 AM |