Field-Map Scripting

4.2.4.2 GetRecordAsXML

GetRecordAsXML function


Prototype:

function GetRecordAsXML(const ID: variant; const IncludingChildLayers: boolean): string;

Description:

The GetRecordAsXML function returns a string containing data of the specified record of the active layer in an XML format. Note: The ID_ constant refers to the ID of the desired record. If it is null, ID of the active record is used.

Syntax:

variable := Layer.GetRecordAsXML(ID,IncludingChildLayers);


Part

Description


variable

A variable declared as a string


Layer

A reference to the Field-Map layer as defined in Field-Map Project Manager


ID

A reference to the record the data of which are required


IncludingChildLayers

This parameter indicates whether data of child layer(-s) are to be included

Return value:

a string containing data of the specified record of the current layer in an XML format



See also:

AddDataToXML; GetRecordAsXML; GetRecordsAsXML; GetLookupListContentAsXML; GetLookupListsContentAsXML