# classname_fieldname_from_cursor

This function returns the sequence iterator for this field from a cursor.

### Prototype

>         MCO_RET	classname_fieldname_from_cursor( mco_trans_h trans,
>                                 mco_seq_iterator_h iterator,
>                                 mco_cursor_h cursor
>                                  );

### Arguments

trans | A transaction handle
iterator |
cursor |

### Description

This function applies to sequence fields. The function returns the sequence iterator for this field from a cursor.

### Return Codes

MCO_S_OK | The value was put successfully
MCO_E_ACCESS | The transaction that the class handle is scoped to is `MCO_READ_ONLY`

Related Topics

## Example