Community of VE/MapPoint Users and Developers
This is a discussion on Querying Data within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am using the Mappoint control in VB 6 to generate maps from data stored in Access. When mapping is ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Querying Data Any ideas on how to do this? I guess I can use QueryAllRecords and loop through the entire recordset, but this will probably be too slow. Seems like there should be an easy way to do this. Am I missing something? Thanks in advance for any/all help! - Lou |
| |||
|
Hi…if I understand your issue correctly, what I’d do is set up a handler for the selection changed event. In that event, pull a key from the selected object and then retrieve the data from a parallel database. i.e. not from MapPoint. Note, if you go this route, don’t leave a modal dialog hanging in the event handler…if you do, MP will throw an OLE timeout error. In VB 6, an easy way around this is to enable a sleeping timer control in the selection changed handler and then let the timer control pop up the dialog box. Another strategy to solve your issue would be to geocode your aggregated data as a pushpin set with fields for each of the data you want to show. In this method, you get all the nice MP balloon etc. The downside is your user has to click on a mysterious pin rather than a nice, labeled region. Hope this helps. |
![]() |
| Tags |
| data, querying |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Importing new GIS data and querying it. | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-26-2002 09:29 AM |