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



<@COL>

Syntax

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

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 valid only in a <@ROWS> block. 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 © 1998, Pervasive Software Inc. All rights reserved.