.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   OT: Access & XML friendly with each other? (http://forum.shrapnelgames.com/showthread.php?t=11992)

AMF May 3rd, 2004 09:38 PM

OT: Access & XML friendly with each other?
 
Does anyone out there know if Microsoft Access can export and import XML data files without too much trouble?

Thanks,

Alarik

Ed Kolis May 4th, 2004 02:52 AM

Re: OT: Access & XML friendly with each other?
 
Yes, just select the table you want to export, then pick Export from the file menu; XML is the second to Last file type on the list. (At least it is in Access 2002 - I don't know if your Version supports XML.)

To import, just use File, Get External Data, Import, and like before select XML from the dropdown. Easy as pie! http://forum.shrapnelgames.com/images/icons/icon12.gif

If you want to get fancy you can write a program using ADO.NET to load the data into a dataset and do whatever you want before you export/import it, since ADO.NET supports both Access and XML, which is in fact its native format http://forum.shrapnelgames.com/images/icons/icon6.gif

Is this for a SE4-related project? http://forum.shrapnelgames.com/images/icons/icon12.gif

AMF May 4th, 2004 04:00 PM

Re: OT: Access & XML friendly with each other?
 
Thanks! No, it's not for SE4, it's potentially for work...

Quote:

Originally posted by Ed Kolis:
Yes, just select the table you want to export, then pick Export from the file menu; XML is the second to Last file type on the list. (At least it is in Access 2002 - I don't know if your Version supports XML.)

To import, just use File, Get External Data, Import, and like before select XML from the dropdown. Easy as pie! http://forum.shrapnelgames.com/images/icons/icon12.gif

If you want to get fancy you can write a program using ADO.NET to load the data into a dataset and do whatever you want before you export/import it, since ADO.NET supports both Access and XML, which is in fact its native format http://forum.shrapnelgames.com/images/icons/icon6.gif

Is this for a SE4-related project? http://forum.shrapnelgames.com/images/icons/icon12.gif

<font size="2" face="sans-serif, arial, verdana">


All times are GMT -4. The time now is 04:10 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.