MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




RecordSet question.

This is a discussion on RecordSet question. within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello guys, I've a question, I want to draw a line from a pushpin to another pushpin. Suppose I've 100 ...


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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-01-2007
Member
Green Belt
 
Join Date: Nov 2006
Posts: 87
RecordSet question.

Hello guys,

I've a question, I want to draw a line from a pushpin to another pushpin. Suppose I've 100 pushpins in my DataSet and than I want to "link" them by a line. What I need is getting all the pushpins and start from the beginning drawing lines one by one. But I need those pushpins in a hierarchical way, do I get that from RecordSet when I move to first and than get next and so on?

Thank you.
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-01-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Re: RecordSet question.

Hi,

Yep, something like this:

Code:
    object o = 1;
    Recordset rs = MP.ActiveMap.DataSets.get_Item(ref o).QueryAllRecords();
    while (!rs.EOF) {
	// Here you have rs.Pushpin.
	rs.MoveNext();
    }
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
question, recordset


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/recordset-question-5710.html

Posted By For Type Date
Using MapPoint and Excel for Supply Chain Management - MapPoint Articles - MP2K Magazine This thread Refback 03-07-2007 04:35 PM

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
Creating Recordset sugarflux MapPoint 2006/2009 Discussion 3 02-13-2007 11:57 AM
ordering recordset Anonymous MapPoint 2006/2009 Discussion 0 11-11-2003 04:05 AM
ADO Recordset Import? Anonymous MapPoint 2006/2009 Discussion 3 09-10-2003 07:55 AM
Deriving a recordset from a mappoint recordset RichardHayes MapPoint 2006/2009 Discussion 0 09-06-2002 03:44 AM
ADO recordset Monique Wish List 0 08-14-2002 10:35 AM


All times are GMT -5. The time now is 09:37 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