Progress
Language Reference


ADD-LIKE-COLUMN( ) Method

Creates a browse column from the specified field and returns its widget handle. This method can be used only after the browse’s query attribute has been set.

Return Type: WIDGET-HANDLE

Applies To: Browse

SYNTAX
ADD-LIKE-COLUMN( field-name-exp | buffer-field-hndl [ , pos ] ) 

field-name-exp

The name of a field in one of the buffers associated with the browse’s query. If the query is a join, the name must be qualified with the database name.

buffer-field-hndl

The widget-handle of a buffer-field from a buffer associated with the browse’s query.

pos

The optional integer value position of the browse column. If pos = 2, the column is the second column. If the position is not specified or the position is invalid, the new column is added at the end of the columns.

The following is an example of adding the customer number field to the browse:

ColHdl = BrwsHndl:ADD-LIKE-COLUMN("customer.cust-num"). 

NOTES


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095