Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

How do I get updatelink to work? I have an access....

This is a discussion on How do I get updatelink to work? I have an access.... within the MapPoint Desktop Discussion forums, part of the Map Forums category; How do I get updatelink to work? I have an access database where I have inserted the MP control which ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    How do I get updatelink to work? I have an access database where I have inserted the MP control which opens a predefined map. I want to be able to update the map when the user clicks on the button that opens the map, but I can't quite figure out how to make the updatelink work.

    Thanks.

  2. #2
    Walt Cygan is offline Senior Member Green Belt
    Join Date
    Aug 2002
    Posts
    124
    Adapted from MapPoint VB Help:

    Sub UpdateLinksOnMap()

    Dim objApp As New MapPoint.Application

    Dim objDataSet As MapPoint.DataSet

    objApp.Visible = True

    objApp.UserControl = True



    'Replace "Linked Data" with your linked pushpin set name.

    Set objDataSet = objApp.ActiveMap.DataSets("Linked Data")

    objDataSet.UpdateLink

    End Sub




    This assumes that the map data was originally created through the Link Wizard. Hope this helps.


    - Walt Cygan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Will MapPoint work directly with MS Access tables ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-29-2006, 09:15 AM
  2. VB6/ACCESS DB/.LinkData/.UpdateLink
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-15-2004, 01:01 PM
  3. UpdateLink / PushPins / Access DB / HELP!!!
    By SeanMcGinty in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-13-2004, 05:31 PM
  4. UpdateLink method
    By Maverick in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-14-2003, 01:21 AM
  5. I work for a county government. We have an Access....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-21-2001, 05:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83