Displays data rows that result from a Lookup field function as a single-column table that has the specified header or title.
This function only displays the "result" passed to it. The result here represents an array of rows. The result can be either stored in a variable and passed to this function, or directly replaced with the function call that returns the result.
Specifies a function call that results in the values displaying in a table.
Specifies the unique identifier of the Lookup Field table in which to show the result set.
Specifies a text string to display at the top of the Lookup Field table on the form.
No value is returned; this function only displays the table with the values included in it.
ca_pam_showDataInTable(result,'Form.office','Office');
This example shows a table named Office that lists the results of a separate query to get office names. In the separate query, the user Region selection determines the offices to display.
The onLookup event for a Lookup Field named Office calls this function.
|
Copyright © 2013 CA.
All rights reserved.
|
|