26.10.2014 Views

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> <strong>1.0</strong> <strong>Library</strong> - <strong>User</strong>'s <strong>Guide</strong><br />

If RView contains an invalid value, an error exception will be thrown.<br />

Example<br />

Public list as AdxRtList<br />

Set list = New AdxRtList<br />

Dim MyArray as Variant<br />

MyArray = list.ListFields("DEM=", RT_FRV_ALL, RT_FCV_VALUE)<br />

NumFields = list.FieldListCount("DEM=", RT_FRV_ALL)<br />

'NumFields holds the number of rows (fields) contained in<br />

MyArray. '<br />

2.1.12. ItemListCount<br />

ItemListCount(RView)<br />

This property supplies the number of items described by the ListItems property.<br />

Arguments<br />

RView<br />

One of the values from the RT_ItemRowView enumeration. This specifies<br />

how the counting should be performed: one row for each updated field, one<br />

row for each registered field, or one row for each field supplied by the<br />

identified item.<br />

Return Value<br />

The number of items counted is supplied as an integer. This will be zero if an error occurs.<br />

Error Handling<br />

An error exception may be thrown in the following cases:<br />

If RView is set to RT_IRV_UPDATED and the property is queried outside of an event callback (i.e.<br />

one of OnImage, OnUpdate or On<strong>Time</strong>), the return value will be 0. In this case, an error exception<br />

will be thrown.<br />

If RView contains an invalid value, an error exception will be thrown.<br />

Example<br />

Public list as AdxRtList<br />

Set list = New AdxRtList<br />

Dim MyArray as Variant<br />

MyArray = list.ListItems(RT_IRV_ALL, RT_ICV_USERTAG)<br />

ListCount = list.ItemListCount(RT_IRV_ALL)<br />

'ListCount holds the number of rows (items) contained in<br />

MyArray. '<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!