Table of Contents

QBFTABLE event

Description

Displays a the records from a QBF result list in tabular format.

Syntax

bforward = QBFTABLE(ctrlentID, ctrlclassID)

Parameters

QBFTABLE accepts arguments for the following parameters.

ParameterDescription
ctrlentIDHas the format WindowName.ControlName, where WindowName is the identifier of the window that contains the affected control, and ControlName is the identifier of that control. Notice that a period separates the two values.
ctrlclassIDThe type of control. Window control is the only valid entry.

Returns

True or false. If false, then program execution returns to the calling procedure. If true, then event processing goes to the next level.

See Also

QBFLIST properties QBFINIT event QBFINIT event

Remarks

Navigating through the resulting table will display the highlighted record data in the current window. By default the QBFTABLE displays a grid displays all the fields and only the fields in a form. You can override this event if you want to display different columns

Example

Forward the QBFTABLE event to a commuter module using the quick event designer

{{:programming:programmers_reference_manual:qeneric_commuter_module_quickevent.png?400|}}


* Commuter module snippet to 
* have the QBFTABLE Event Display specific columns in a grid

onQbfTable:

qbflist = Get_Property(@Window, 'QBFLIST')
If qbflist Ne "" Then
   Call make.list(0, qbflist, '', '')
   statement = 'LIST BOOKS'
   statement := ' AUTHOR'
   statement := ' TITLE'
   statement := ' PRICE'
   statement := ' (G' ; * output to a grid   
   Call run_Report('', statement, '')
end
return