FormDataSource.executeQuery Method [AX 2012]

Executes the data source query and displays the records that are retrieved.

public void executeQuery()

Run On

Client

This method is executed when a form is opened for data display.

The executeQuery method can be overridden on a form data source by right-clicking the Methods node under the data source, pointing to Override Method, and then clicking executeQuery.

The following example executes a data source query in response to a tab page activation event.

public void pageActivated() 
{ 
    monday_ds.executeQuery(); 
    super(); 
}

Community Additions

ADD
Show: