Login

Recover Your Password

Return to Product Support > Learning Center > Developer References > Legacy Deprecated API > OpenCSSQL

OpenCSSQL

Returns a ContentSet Pointer as Long Integer. Note that the SQL statement must be in the correct SQL syntax for the DataSource. (If the Data


A Contentset opened with OpenCSSQL does not supportGetCSEnhancedField or GetCSLookup. The preferred way to open a contentset is with the OpenCSContent.


A Contentset returned from a failed SQL statement will cause IsCSOK to return false.


Syntax


CSPointer = ccLib.OpenCSSQL( DataSourceName, SQL, Optional PageSize, Optional PageNumber )


Parameters


DataSourceName - String, the name that uniquely identifies the data source


SQL - String, the SQL statement to be executed


PageSize ? used with PageNumber to assist with creating paged output. PageSize is the number of records to display per page. Page Number is the current page to display.


PageNumber ? See PageSize for a description.

This page was last reviewed 4/4/2009 11:57:45 AM