Top |
Post New Question |
Read All |
MP2K Asks Microsoft
448
jimk
-
October 22, 2001
Mappoint-Refresh linked data on a form load event without launching the link wizard? The Code sample you suggessted (that I read before asking) loads the wizard and promts the user for action. I don't want to shell to dos. Can this be done in VB seamlessly without the wizard, in processs, without shelling to dos?
Answer:
OK - I confused you. The sample from the MapPoint Help system includes a line that calls the Link Wizard - Set objDataSet = objApp.ActiveMap.DataSets.ShowLinkWizard().
If your file already includes a linked dataset called "customers", you can change this one line to Set objDataSet = objApp.ActiveMap.DataSets("customers") which should give you the silent refresh you are looking for. (You obviously don't need the MsgBox line either.)
Post New Answer / Follow-up