Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Table events > List page

Custom record fetch

Scroll Prev Next More

Deprecated

This function is deprecated. While the existing code keeps working, we recommend switching to SQL Views.

Description

The ListFetchArray event fetches records from the given array and returns them as array. Use this function in conjunction with the Custom query function.

 
Here is an article that shows how to use ListFetchArray and ListQuery events together: How to display data returned by stored procedure

Syntax

public XVar ListFetchArray(dynamic rs, dynamic pageObject)

Arguments

rs

an array of values returned from the Custom query event.

pageObject

an object representing the current page. For more information, see RunnerPage class.

Applies to pages

List, Print.

See also:

Database API:Query()

Database API: fetchNumeric()

Database API: fetchAssoc()

Events. Check if specific record exists

Add a dropdown list box with values for the search

Event: ListGetRowCount