Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Problem with ImportData - Access to fast? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi! I'm looking for help for a curios problem. To generate a couple of maps - each with different locations ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Problem with ImportData - Access to fast? I'm looking for help for a curios problem. To generate a couple of maps - each with different locations - I have the following loop in Access VBA: While Delete Dataset Fill a table with locations DataSets.ImportData (the table) save the map Wend The problem is, that the Mappoint dataset always misses one recordset. It works fine, if i put a Stop in the code and continue manually: While Delete Dataset Fill a table with locations STOP DataSets.ImportData (the table) save the map Wend So, I guess, that the code is to fast and the work on filling the table is not really finished, when the table is imported. Does anybody know, if there is a command like refresh or update the table, which I can insert before importing the table into Mappoint. Any help is appreciated. |
| ||||
|
Are you trapping exceptions? I've recently had a problem where I was able to feed data to Excel faster than Excel could handle it (Excel 2003, and if the user was scrolling/etc at the same time). This threw back an exception that could be caught. If the error is the "edit in progress" error (in this example) then I paused 500ms and tried again. Otherwise I gave an error to the user. Could it be something similar? Also, if you're auto-generating the table, you could always kludge it with a dummy row! Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping |
![]() |
| Tags |
| access, fast, importdata, problem |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fast way to add radius? | nomad_33fw | MapPoint Desktop Discussion | 1 | 06-10-2005 07:55 AM |
| How to choose Fast, Short or Preferred itineray | Anonymous | MapPoint Desktop Discussion | 1 | 11-10-2004 03:14 AM |
| Problem with mappoint in Access | Dazzer | MapPoint Desktop Discussion | 0 | 12-04-2003 04:27 AM |
| Is there a fast way of adding pushpins? | matt1168 | MapPoint Desktop Discussion | 3 | 07-24-2003 09:44 AM |
| problem with linking to access | Anonymous | MapPoint Desktop Discussion | 1 | 06-19-2003 05:32 PM |