SYNOPSIS

int MGOselqna (Qna **lst, Qna *qna)

DESCRIPTION

The MGOselqna() function selects question&answer records. Information is passed through qna and returned through the linked list lst. The selection criteria fields are:

qna.uwnetid is the uwnetid name. qna.ordinal is the qna's ordinal (question number). If only the uwnetid field is specified, all qna records will be returned. The following fields are set for each selected qna:

RETURN VALUE

Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

rmango

SEE ALSO

MGOdelqna(), MGOfreeqna(), MGOinsqna(), MGOupdqna(), MGOzero()