Previous Topic: FNC_PARSE_OBJECTIVE_STATEMENTNext Topic: Exposed Tables


FNC_PARSE_TABLE_PARAMETER

Description

Used for formatting a Table Parameter as a table.

Syntax

FNC_PARSE_TABLE_PARAMETER (TEXT)

Parameters

Name

Type

Description

TEXT

table_value

The text of the internal XML representation of a Table Parameter.

Return Value

Returns a table like the text containing the data stored in the Table Parameter.

Remarks

None.

Example

FNC_PARSE_TABLE_PARAMETER (TEXT)

where TEXT contains:

<Table>
  <TableStructure>
    <Col Name="c1string" Index="Y" Mandatory="N" Type="Text" DefaultValue="" />
    <Col Name="c2number" Index="N" Mandatory="N" Type="Number" DefaultValue="" />
    <Col Name="c3date" Index="N" Mandatory="N" Type="Date" DefaultValue="" />
  </TableStructure>
  <TableElements>
    <Elem>
      <c1string>str1</c1string>
      <c2number>1</c2number>
      <c3date>05/02/2008 00:00:00</c3date>
    </Elem>
    <Elem>
      <c1string>str2</c1string>
      <c2number>2</c2number>
      <c3date>28/02/2008 00:00:00</c3date>
    </Elem>
  </TableElements>
</Table>

returns the following table:

c1string

c2number

c3date

str1

1

05/02/2008 00:00:00

str2

2

28/02/2008 00:00:00