MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




DataMap object

This is a discussion on DataMap object within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, This is my vb code. Dim oMap As MapPoint.Map Dim oDataset As MapPoint.DataSet Dim oDataMap As MapPoint.DataMap Dim oField ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 08-29-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
DataMap object

Hello,

This is my vb code.

Dim oMap As MapPoint.Map
Dim oDataset As MapPoint.DataSet
Dim oDataMap As MapPoint.DataMap
Dim oField As MapPoint.Field
Set oField = oDataset.Fields(2)
Set oDataset = MappointControl1.ActiveMap.DataSets.GetDemographic s(geoCountryFrance)
Set oDataMap = oDataset.DisplayDataMap(geoDataMapTypeSizedCircle, oField, geoShowByPostal1)

My DataMap object has 5290 records which are displayed on the map.
Do you know if it is possible to enumerate the records of a datamap object in a vb code ?

Hasan
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 08-29-2002
Junior Member
Yellow Belt
 
Join Date: Aug 2002
Posts: 15
http://msdn.microsoft.com/library/de...APIDataSet.asp

look at the query functions. They allow you to enumerate through the features in a single dataset. They all return a mappoint recordset object. If you have an ado refrence added to your project remember to make your declares like

mappoint.recordset

instead of

recordset

it will stop alot of headaches. Have fun ;)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-30-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Queries on Demographic dataset

Query functions don't work with datasets created with the function getDemographics ! Do you know why ?

Hasan
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
datamap, object


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
Getting shapes from DataMap Anonymous MapPoint 2006/2009 Discussion 0 01-16-2005 07:36 PM
c# zoom to object starbuck MapPoint 2006/2009 Discussion 4 12-17-2004 05:32 PM
route object to drawing object Anonymous MapPoint 2006/2009 Discussion 1 05-09-2003 11:29 PM
Can one say me how to change color of DataMap to white!! Anonymous MapPoint 2006/2009 Discussion 0 04-09-2003 11:15 AM
how to skip wrong pushpinsymbol and map style, using datamap Anonymous MapPoint 2006/2009 Discussion 3 09-11-2002 08:18 PM


All times are GMT -5. The time now is 12:15 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 55