DataSourceFormatSqlSelectBody

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.

SalString DataSourceFormatSqlSelectBody(  )

The DataSourceFormatSqlSelect formats the complete select statement body for a data source.

This method is primary used by DataSourceFormatSqlSelect.

Returns

The complete select statement for the datasource

Comments

The select statement follows the template "select <columns> into <bind variables> from <views>.

<columns> - the framework will collect a list of columns for all data items attached to a data source. Applications can override the DataSourceFormatSqlColumnUser method to add extra columns to the select statement.

<bind variables> - the framework will collect a list of bind variables for all data items attached to a data source. Applications can override the DataSourceFormatSqlIntoUser method to add extra bind variables to the select statement.

<views> - the view(s) specified in Foundation1 properties.