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 OperationsTable Field Component(Data Type)Reference Syntax and ExampleExample of setting a columnfield attribute:field(custtable[*].custname).bgcolor =CC_RED;ProtoField (FormField)fieldtype(field(tablefield[*].column).ProtoField)Example of setting a protofield attribute:entryfield(field(custtable[*].custname).protofield).bgcolor=CC_RED;Column Header- Text(varchar(256))field(tablefield[*].column).TitleExample:field(custtable[*].custname).title ='Customer Name';- Visual characteristics(Free Trim)field(tablefield[*].column).TitleTrim.attributeExample:field(custtable[*].custname).titletrim.bgcolor = CC_RED;Table body (StackField)field(tablefield).TableBodyExample:field(custtable).tablebody.outlinewidth= LW_THIN;Individual cell(CellAttribute)field(tablefield[n].column).attributewhere n is the number of the array rowcontaining the cell and attribute is an attributeof CellAttributeExample:field(custtable[3].custname).bgcolor =CC_RED;Table Field OperationsThis section describes how to perform a variety of operations on a table field:• Displaying and removing the vertical scroll bar• Scrolling through data• Scrolling to a specific row236 <strong>Programming</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!