RWS_TABLE


Purpose

Tags a string to be displayed as a table.

Syntax

RWS_TABLE(vString, aClass)

Parameters

vString A variable containing the string to be tagged as a table. On return, the variable contains the modified string.

aClass A dynamic array that can contain the following elements:

Element No.

Attribute

Description

1

CLASS

The name of a tag class defined in a CSSClosed Cascading Style Sheet - a mechanism by which the presentation of an HTML page can be separated from the content. A style sheet can be used to determine the appearance of one or more HTML pages.  stylesheet.

2

BORDER

The thickness, in pixels, of  3D chiselled-edge lines surrounding the table. 

3

RULES

The thickness, in pixels, of rules used inside the table. Alternatively, you can set this attribute to "GROUPS", to draw thicker rules around the different sections of the table, such as the head, body or foot (see RWS_TABLE_BODY, RWS_TABLE_HEAD and RWS_TABLE_FOOT), "ROWS" to draw rules only between rows, or "COLS" to draw rules only between columns.

Attributes defined in the aClass parameter are applied to the TABLE tag.

For information about using aClass, see The aClass Parameter.

A Note About the Examples

The first four Related Topics Link Iconexamples demonstrate the differences between RWS_TABLE, and RW_MAKE_TABLEand RWA_MAKE_TABLE, by showing how you might use RWS_TABLE to produce a result similar to that of the other two subroutines. The fifth example shows the power of RWS_TABLE and its Related Topics Link Iconrelated routines to produce more complex tables, while the sixthshows how you can use tables to lay out a form.