User Tools

Site Tools


addfield_specify_display_fields_.htm
Navigation:  ABC Library Reference > FileDropClass > FileDropClass Methods >====== AddField (specify display fields) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

AddField( filefield, queuefield )

blk2blue.jpg

AddField Identifies the corresponding FILE and QUEUE fields for a filedrop list column.
filefield The fully qualified label of the FILE field. The filefield is the original source of the filedrop LIST's data.
queuefield The fully qualified label of the corresponding QUEUE field. The queuefield is loaded from the filefield, and is the immediate source of the filedrop LIST's data.

The AddField method identifies the corresponding FILE and QUEUE fields for a filedrop list column. You must call AddField for each column displayed in the filedrop list.

You may also use the AddField method to display memory variables by specifying a variable label as the filefield parameter.

Implementation:

The AddField method uses the FieldPairsClass to manage the specified field pairs.

Example:

CODE

StFD.Init(?CLI:StCode,StateQ.Pos,StateView,StateQ,Relate:States,ThisWindow)

StFD.Q &= StateQ

StFD.AddSortOrder(StCodeKey)

StFD.AddField(STFile:StCode,StFD.Q.StCode)

StFD.AddField(STFile:StName,StFD.Q.StName)

StFD.AddUpdateField(STFile:StCode,CLI:StCode)

addfield_specify_display_fields_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1