| |
big_ben
Posts: 1
Score: 0
Joined: 4/2/2005
From: France
Status: offline
|
Hello, I'm french and newbie in programmation. I need to write a script to export database to an xml file. I have wrote this: Dim db, fx Dim sourcepath Dim destpath sourcepath = "C:\Documents and Settings\Administrateur\Bureau\db1.mdb" destpath = "C:\Documents and Settings\Administrateur\Bureau\essai.xml" Set db = CreateObject("Access.Application") Set fx = CreateObject("xml.Document") db.opencurrentdatabase sourcepath db.Visible = False fx.ExportXML "Graphics","db","destpath" db.closecurrentdatabase but it doesn't work.....If somebody could help me it would be great Thanks
|
|