Import Data From Access

Anonymous
06-25-2003, 03:59 AM
I want to import Data from a table of Access, the information is order in columns. I try to import using the object DataSets.

I prefer code of Visual C++, although I accept code in any language.

Thanks in advance.

rmozes
08-05-2003, 08:24 AM
you can use the MapPoint wizard from a VB program.
this is like using the built in application manual wizard.

you can use this method:

Sub ShowWizard()
Dim objApp As New MapPoint.Application
'Dim strFile As String
Dim objDS As MapPoint.DataSet

With MPApp.ActiveMap.DataSets
'Access table
'strFile = objApp.Path & "\Samples\Sales.xls!Sheet1!A1:C22"
Set objDS = .ShowImportWizard(, , , geoImportAccessTable)
End With
End Sub

 
Web mp2kmag.com
mapforums.com