Community of VE/MapPoint 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 ...
| |||||||
| 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 |
![]() |
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 |
Ski Deals
Book first-rate ski holidays from the leading travel brands at exceptionally competitive prices. Check out the latest range of ski deal online at Holiday Hypermarket.
Portugal Holidays
Find and book Portugal Holidays with Travel Counsellors. Holiday destinations around the world including Portugal.
Holiday Cuba
Most of all though, you will remember your Holiday in Cuba for the people. Naturally open and friendly with the warmest welcome in the Caribbean. Book at dealchecker.co.uk today.
All Inclusive Maldives
Visit The Holiday Place.co.uk for great deals on all inclusive holidays to the Maldives. Book a holiday to the outstandingly beautiful Maldives.
Balearics
Before booking to the Balearics Islands make sure you check out our travel guide online. The Balearics are renowned for their vibrant nightlife but there are also some stunning Gothic cathedrals, Stone Age ruins and fishing villages.
Inclusive late deals
For inclusive late deals, check out your options at Travel.co.uk and have fun!
Holidays to Cyprus
Take the plunge into a world of summer splendour! Find information on holidays to Cyprus online, only at On The Beach.