adoRSetGetHandle
Previous Topic  Next Topic 

Synopsis:

       handle=adoRSetGetHandle(SetName)

Arguments:

       SetName - The recordset name.


Description:   If a recordset is opened in public mode and is given a unque name (see adoRecordset()), then this function enables other tasks to obtain the connection handle by specifying this unque name as the SetName argument.     For example if a task opens a public, named recordset like this:


       adoRecordSet("MySet",TYPE_PRIVATE);


Another task can obtain the handle to this public recordset through:


       handle=adoRSetGetHandle("MySet");


Returns:   Returns the recordset handle associated with the given name upon success or ADOERR_INVLDNAME if the name was not found.