MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




MapPoint via Access

This is a discussion on MapPoint via Access within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi All. Never been here before, but I hope you can help. I've been asked to launch MapPoint 2004 from ...


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-24-2006
DNA DNA is offline
Junior Member
White Belt
 
Join Date: Aug 2006
Posts: 2
MapPoint via Access

Hi All.

Never been here before, but I hope you can help. I've been asked to launch MapPoint 2004 from Access 2003 via VBA. No problem there, it's very straightforward.

My problem however, is linking an Access Recordset to a MapPoint DataSet so I can use it in a DataMap. I know how to get data from an Access database, the problem is it's the database that's opened MapPoint (if you get what I mean). MapPoint can't open the database because it's already open.

Is there any way I can assign an Access Recordset to a MapPoint DataSet without getting a 'Type Mismatch' error? (which is what happens when I enter objDataSet = RstCustomers).

Any help would be greatly appreciated.
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-25-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

I dont think you can do that because these are different objects. I think the way to go is to write a copy your data to another database or a csv file, and link mappoint to it.
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-28-2006
DNA DNA is offline
Junior Member
White Belt
 
Join Date: Aug 2006
Posts: 2
Smile

Hmmn...

If I export a copy of the appropriate Access Table (via VBA) as an Excel file then (from the same Module) I can open it in MapPoint using the LinkData method.

Thanks,

DNA.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 08-28-2006
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,471
Blog Entries: 1
I think it's an option in Access -- open database excusively or something like that, you would maybe just need to turn it off?

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
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
access, mappoint


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
mappoint in access nmilne MapPoint 2006/2009 Discussion 4 01-25-2006 11:00 AM
MapPoint with Access Anonymous MapPoint 2006/2009 Discussion 0 03-26-2005 12:25 PM
Mappoint, SQL, and Access wiljane3 MapPoint 2006/2009 Discussion 2 03-11-2005 02:46 PM
Problem with mappoint in Access Dazzer MapPoint 2006/2009 Discussion 0 12-04-2003 05:27 AM
MapPoint in MS Access Anonymous MapPoint 2006/2009 Discussion 0 01-21-2003 06:23 PM


All times are GMT -5. The time now is 11:31 AM.


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