![[thumbsup] [thumbsup] [thumbsup]](/data/assets/smilies/thumbsup.gif)
here my prolem.
I'm trying to export an Access qry to XML by the push of a button now I have a code put it does not only export the XML data but also the Schema .xsd which complicates matters and makes it difficult to proccess this data. further I get the compile error message 'Named argument not found'
below the code I used:
Private Sub btn_XMLExport_Click()
Application.ExportXML _
ObjectType:=acExportTable, _
DataSource:="qry_name", _
DataTarget:="d:\xmlData\qry_name.xml", _
SchemaTarget:="d:\xmlData\qry_name.xsd", _
SchemaFormat:=acSchemaXSD, _
OtherFlags:=1
MsgBox "XML Export complete!!", vbInformation
End Sub
Did I forget something?
What can I still check?
Any help would be appreciated.
Greetings
hotreca
![[thumbsup] [thumbsup] [thumbsup]](/data/assets/smilies/thumbsup.gif)