Database.MSAccess.getXML() This page was last modified over 30 day(s) ago and has 1 comment(s)


Back to Database.MSAccess Class Summary

Availability
Windows

Usage
mdm.Database.MSAccess.getXML():String

Parameters
None

Returns
A String

Description
Returns the contents of a result set as XML formatted text.

Notes
A query must first be executed with Database.MSAccess.runQuery()

Example Code
var myXMLReturn:String = mdm.Database.MSAccess.getXML();
// convert to xml object
var myXML:XML = new XML();
myXML.parseXML(myXMLReturn);

mdm.Database.MSAccess Class Example Downloads
Simple MSAccess Example


User Comment by Joe (London) on 14th April 2009 - 14:53
Please note that the MSAccess.getXML() method will throw a "memory could not be read" error if you have just run a query which returns zero rows - you have to manually call MSAccess.getRecordCount() to check this otherwise your end user will get a nasty surprise!

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page