QuerySheetPrepare

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

 

SalNumber QuerySheetPrepare(  )

The framework calls the QuerySheetPrepare method to add the sheets to display when the user selects query dialog for a data source

Returns

This method does not return a value.

Comments

Applications can override the QuerySheetPrepare method to change what query sheets are to be displayed. Typically this is used to add extra query sheets to the query dialog.

The Query type is used by the query dialog to determine how to use the specific tab.

Example

public new SalNumber QuerySheetPrepare()
{
#region Local Variables
#endregion
			
#region Actions
	using (new SalContext(this))
	{
		// Default Query and Advanced query tab sheet
		((cDataSource)this).QuerySheetPrepare();
// Add an extra property sheet for this window Ifs.Fnd.ApplicationForms.Var.QueryInfo.AddQuerySheet
("dlgSearchContents", Const.TEXT_LABEL_ContentSearch,
Ifs.Fnd.ApplicationForms.Const.QUERY_TabQueryType,
Const.QUERY_TextSearchTabTag); } return 0; #endregion }