Partilhar via


FormDataSource.executeQuery Method

Definition

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

public:
 virtual void executeQuery();
public virtual void executeQuery ();
abstract member executeQuery : unit -> unit
override this.executeQuery : unit -> unit
Public Overridable Sub executeQuery ()

Remarks

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(); 
}

Applies to