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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Return Value<br />

Returns the status of the field in the item.<br />

Error handling<br />

If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error<br />

exception is thrown.<br />

Example<br />

Public list as AdxRtList<br />

Set list = New AdxRtList<br />

Dim ItemList(0 To 1) as Variant<br />

ItemList(0) = "EUR="<br />

ItemList(1) = "JPY="<br />

Dim FieldList(0 To 1) as Variant<br />

FieldList(0) = "BID"<br />

FieldList(1) = "ASK"<br />

list.RegisterItems ItemList, FieldList<br />

list.StartUpdates RT_MODE_IMAGE<br />

Data = list.value("EUR=", "BID")<br />

FStatus = list.FieldStatus("EUR=", "BID")<br />

'Sets FStatus to RT_FIELD_OK or RT_FIELD_UNKNOWN'<br />

2.1.15. ItemStatus<br />

ItemStatus(ItemName)<br />

This property returns a value from the RT_ItemStatus enumeration.<br />

Arguments<br />

ItemName<br />

The name of the item as a string.<br />

Return Value<br />

Returns the status of the item.<br />

Error handling<br />

If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error<br />

exception is thrown.<br />

18

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

Saved successfully!

Ooh no, something went wrong!