[TOC] [Prev] [Next] [Bottom]



<@COL>

Syntax

<@COL [NUM=number] [ENCODING=encoding] [FORMAT=format]>

Description

Returns the value of the column NUM in the current record of a result rowset or array. This tag may be used in any Results HTML. <@COL NUM=1> refers to the first column in the current row, <@COL NUM=2> the second, and so on.

This tag is generally used in a <@ROWS> block. Outside of a <@ROWS> block, this tag behaves like <@COLUMN> that is, it returns the value of the column NUM for the first row of the current result rowset or array. This meta tag can be used with no attributes inside a <@COLS> block. In this case, it returns the value of the current column.


FileMaker Pro

! Note: Insert actions using FileMaker Pro data sources (Mac OS) allow the use of <@COL 1> in the Results HTML. The meta tag evaluates to the record ID of the inserted record in this case.


Example

<@ROWS>
Column 1:<@COL NUM=1><BR>
Column 2:<@COL NUM=2><BR>
Column 3:<@COL NUM=3><BR>
</@ROWS>

This prints the values from columns one, two and three for each row in the current rowset.

See Also

<@COLS> </@COLS>
<@COLUMN>
Encoding Attribute
<@FORMAT>
Format Attribute
<@ROWS> </@ROWS>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1999, Pervasive Software. All rights reserved.