10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table Field OperationsColumn OperationsThis section describes the following operations that affect one or more columnsin a table field:• Displaying and removing column headers• Formatting a multiline header• Using hidden columns• Turning CellAttributes on• Using the HasDataChanged attributeHow You Can Display and Remove Column HeadersBy default, OpenROAD puts a table header on each table field that you create.This area contains the column titles. You can remove the table header and,consequently, the column titles, by setting the HasHeader attribute of theTableField object to FALSE:field(tablefield).HasHeader = FALSEHow You Can Format a Multiline HeaderIf the table header has been removed and you want to display it, set theHasHeader attribute to TRUE.If you want the title of a column to appear on multiple lines, use theOpenROAD system constant for a new line, HC_NEWLINE. For example, thefollowing statement results in a two-line column title:field(movie[*].director).title = 'Director''s' +HC_NEWLINE + 'Name';The result looks like this:Director'sNameHow You Can Use Hidden ColumnsHidden columns are columns in a table field that are invisible to the user. Theyhave a variety of uses, for example, as recordkeeping or status fields.Working with Arrays, Table Fields, and Collections 245

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!