Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Completely Frustrated With RecordSets within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Does the Mappoint RecordSet object come up short, or is it just me? Here's my issue. I provide a user ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Completely Frustrated With RecordSets Here's my issue. I provide a user with the opportunity to enter an address for me to find. If the results are not found exactly, I pop up the ShowFindDialog. So, they identify their item and Mappoint places a pushpin on the map. It names it based on the item that they selected from the dialog. Now, I need to find out the name of that pushpin.....keeping in mind that there may be other pushpins on the map already, and I do know their names. I can see the RecordCount of the DataSet in question, but I can not see an Item property on the RecordSet object to cycle through the names of the pushpins on the map and see if the name matches a known name. I looked to the Fields property and although I have items in the recordset/dataset, fields reports 0. HELP!!!!!!!!! |
| |||
|
OK, so I figured this out......but the recordset object IS wanting. Unless I am totally missing something.... if I do this: objRecordSet = app.ActiveMap.DataSets(1).QueryAllRecords I need to cycle through the RecordSet using MoveFirst and MoveNext to get the number of records in the recordset.......how about a count property? Is that too much to ask? |
| |||
|
Hi, The result set suport the foreach statement. I think this is also supported in VB. Not sure.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| completely, frustrated, recordsets |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Frustrated - Script timed out Active Server Page | webdbx | MapPoint 2006/2009 Discussion | 1 | 12-13-2004 02:48 AM |
| joining recordsets with arrows (II) | Anonymous | MapPoint 2006/2009 Discussion | 0 | 10-28-2003 06:37 AM |
| joining recordsets with arrows | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-22-2003 07:54 AM |
Sharm El Sheikh Holiday
Enjoy the hot sun and fantastic beaches on your Sharm El Sheikh holiday! Check out the UlookUbook online offers...