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

pushpins and fields

This is a discussion on pushpins and fields within the MapPoint Desktop Discussion forums, part of the Map Forums category; I do not understand the fields of pushpins? using MP2002 and vb6 I think this is how it works but ...

  1. #1
    techecho's Avatar
    techecho is offline Junior Member White Belt
    Join Date
    May 2004
    Posts
    7

    pushpins and fields

    I do not understand the fields of pushpins?

    using MP2002 and vb6

    I think this is how it works but can't figure out the code

    Some how I set the field names when creating the datasets

    Set objDataSet = objApp.OpenMap(objApp.Path & "\Samples\Sales.ptm").DataSets("SampleData")

    I want to be able to enter the field names from my program not data file

    Then I give each pushpin a value for the field as they are added ????


    Problem is I import the data as arrays at the beginning of my program
    (TRKUnit(1000,9) = unit,lat,long,status etc..) and am changing field values
    like the lat , long and status regularly

    can I change the field values of the pushpins regularly
    ??? objPushpin.field(2) = "some text"

    I tried searching the discussions for "pushpin fields" but ????

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    From the help file:

    "The Fields collection consists of the fields in a linked, imported, or demographic data set"

    "Item property (Fields)
    Returns a Field object based on its Name property or position within the specified Fields collection. Read-only."
    I could be wrong but - to me it looks like you only get fields from linked, imported, or demographic data sets and even then they are read only.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Populating pushpin fields.
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-13-2004, 05:08 PM
  2. Only displaying fields with content in push pin baloons
    By roberta walker in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-07-2004, 08:44 AM
  3. Importing address with an array of fields specified
    By jscott099 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-30-2003, 11:10 PM
  4. I want to import data. I want to show four fields.....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-17-2002, 09:09 AM
  5. How do I export lat/long fields from Mappoint to E....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-29-2001, 10:57 PM

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