GetNumRows

Returns the number of rows for a question group. This information might be useful if you are allocating space to hold returned values.

Syntax

short int GetNumRows(double dcm_group_id,
    int *num_rows);

Parameters

dcm_group_id (in) The question_group_id of the DCM question group.

num_rows (out) The number of rows for this DCM question group.

Return Value

SUCCESS or FAILURE.

Comments

The group_identifier uniquely identifies the question_group. Upon calling this function Oracle Clinical returns the number of rows that are present for this group in the internal buffer.

Error Messages

Table 7-16 Error Messages for GetNumRows

Number Severity Message

284900

ERR

User does not have the privilege to call function in the current mode.

285000

ERR

Function called out of sequence.

285900

ERR

No current OCL database connection open. Use ConnectOCL to connect to OCL database.

286600

ERR

Audit reason required and not provided.

304600

ERR

Function does not exist.

304700

ERR

Privilege does not exist.

308600

ERR

Record changed by another user.