Hello. I'm trying to export my table to XML but get the message "Microsoft Office Access was unable to export the data" - Version 2003 / SP2
This is only happening on my laptop PC but I don't have this problem on my desktop.
Any suggestions are welcomed? Thanks.
Here's what i've tried:
Action 1:
1. Created a new database
2. Create a new Table (Table1)
3. Added 2 Fields: myfield1 (text) and myfield2 (text)
4. put in sample data
5. click on File -> Export; File name = Table1, Save As type = XML (*.xml)
6. Data (XML) is checked
7. click on Export and error appears
Action 2:
Created a module with the following code and ran it
Sub testXML()
Application.ExportXML _
ObjectType:=acExportTable, _
DataSource:="Table1", _
DataTarget:="Table1.xml"
End Sub
Result:
Run-time error '31532'
Microsoft Office Access was unable to export the data
Action 3:
Ran detect and repair
Action 4:
Removed Access 2003, re-installed it, ran detect and repair
Action 5:
Searched on the net, saw some people encounter this problem, but no solution found.
Action 5:
Tools -> Database Utilities -> Convert Database To Access 2000 File Format. Opened new database, tried to export, but same error
This is only happening on my laptop PC but I don't have this problem on my desktop.
Any suggestions are welcomed? Thanks.
Here's what i've tried:
Action 1:
1. Created a new database
2. Create a new Table (Table1)
3. Added 2 Fields: myfield1 (text) and myfield2 (text)
4. put in sample data
5. click on File -> Export; File name = Table1, Save As type = XML (*.xml)
6. Data (XML) is checked
7. click on Export and error appears
Action 2:
Created a module with the following code and ran it
Sub testXML()
Application.ExportXML _
ObjectType:=acExportTable, _
DataSource:="Table1", _
DataTarget:="Table1.xml"
End Sub
Result:
Run-time error '31532'
Microsoft Office Access was unable to export the data
Action 3:
Ran detect and repair
Action 4:
Removed Access 2003, re-installed it, ran detect and repair
Action 5:
Searched on the net, saw some people encounter this problem, but no solution found.
Action 5:
Tools -> Database Utilities -> Convert Database To Access 2000 File Format. Opened new database, tried to export, but same error