Community of VE/MapPoint Users and Developers
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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| RecordSet question. 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. |
| |||
| 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();
}
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| question, recordset |
| ||||
| 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 | |
| |
| ||||
| 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 |