spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2013
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Earlier Content
Past News Items
Past What's New Announcements
 Sponsors
 Order

MapPoint 2013

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
SVG Tutorials
MapPoint

Map Visitors

  MAPPOINT Q & A  

Top | Post New Question | Read All | MP2K Asks Microsoft

567 Sohail Amir - December 26, 2001

I have the following set of data in a tab-separated TXT file:

46038 North Zone
46032 North Zone
46027 North Zone
46013 South Zone
46018 South Zone
46019 South Zone
46020 South Zone

I import this data successfully into Mappoint using ImportTerritories method. Immediately after importing the data, I do a query on the Mappoint control using QueryAllRecords method. The method returns 7 records and I am able to access each record succssfully.

After this I add a zipcode to territory North Zone USING TERRITORY MANAGER. Immediately after this I again query the dataset. Now, the recordset returned is EMPTY! (EOF and BOF are TRUE); RecordCount = 7 (NOT 8!) and I am not able to access the individual records. Why does this happen? How can I access the Dataset again to get 8 records?

Thanks

Answer:

Territories is a new feature and what you are describing is probably not supported yet. You would probably have to drop and recreate the territories, this may be a significant amount of custom coding.

Post New Answer / Follow-up


Google
 
MP2Kmag Internet


 Recent Discussion
 Resources


Want Your Site To Appear Here?

   © 1999-2012 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006/2009/2010/2011/2013 are either trademarks or registered trademarks of Microsoft.