Click or drag to resize

SQLSelect Constructor

X#
Construct a SQL select object.

Namespace:  VO
Assembly:  VOSQLClasses (in VOSQLClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR(
	cSQLSelect,
	oSQLConnection
) CLIPPER
Request Example View Source

Parameters

cSQLSelect (Optional)
Type: Usual
A SQL select statement (for example 'SELECT * FROM employee').
oSQLConnection (Optional)
Type: Usual
The SQL connection indicating where the table can be found. If not specified, the current default connection is used, if any; if none is defined, the system asks the end user to log on to a database.

Return Value

Type: 
As with all Init() methods, the instantiation returns the object. An object is created even if the table was not successfully opened, perhaps because the table does not exist, is corrupted or is locked by another user.
See Also