MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




programmatically create a field for a MapPoint.Dataset?

This is a discussion on programmatically create a field for a MapPoint.Dataset? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello everyone, I know that you can create dataset fields when you import the dataset from an outside source like ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-15-2006
citrix_99301's Avatar
Junior Member
Yellow Belt
 
Join Date: Mar 2006
Posts: 12
programmatically create a field for a MapPoint.Dataset?

Hello everyone,

I know that you can create dataset fields when you import the dataset from an outside source like Excel.

My question is whether you can create fields programmatically for the pushpin's unique identifier, in my case the invoice number.

I currently am able to uniquely identify the pushpin by setting the name to the invoice number but this causes the balloon to show the invoice under the name heading; this seems a bit sloppy. Is there any way to create fields programmatically in .NET and how would I go about doing this?

Thanks in advance,

Andre Ranieri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-18-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi Andre,

What you can do is display the name, and put the invoice number into the Note property of the PushPin. You can format the Note nice by putting \r\n and \t characters in it and for example default only display the name with GeoBalloonState.geoDisplayName;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
create, field, mappointdataset, programmatically


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How do I update the value of a field in a recordset? stephenmillington MapPoint 2006/2009 Discussion 4 10-10-2005 01:52 PM
How to save map as *.ptm programmatically in MapPoint? Anonymous MapPoint 2006/2009 Discussion 3 10-07-2004 12:22 PM
Drawing scribble on mappoint programmatically vidyakulkarni MapPoint 2006/2009 Discussion 1 07-29-2004 09:06 PM
Import then Map by Date field Mossoft MapPoint 2006/2009 Discussion 1 12-01-2003 12:38 PM
How to programmatically connect to MapPoint Extranet Owen MapPoint 2006/2009 Discussion 0 05-09-2003 05:23 PM


All times are GMT -5. The time now is 10:47 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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