RWS_TABLE

See also Examples

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 CSS 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 examples demonstrate the differences between RWS_TABLE, and RW_MAKE_TABLE and 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 routines to produce more complex tables, while the sixth shows how you can use tables to lay out a form.

Go to top button