Modulus Financial Engineering HomeModulus Financial Engineering
RMD Server™

Connection.ReadByDate Method

 

Returns a field value at a specific date in a tick table or bar table.

 

Return Type

    VARIANT

 

Syntax

 ReadByDate (Selection Table, DateTimeInfo DateTime, BSTR Field)

 

Remarks

If the record or field does not exist, the value returned will be NULL_VALUE (-987654321).
RMD Server™ stores a file version in all tables. If the file version of the table being read is greater than the version of the currently installed RMD Server™, an error will be thrown: 1051 (Table uses a newer version of RMD Server file format).

 

See Also

   ReadByRecord, Selection, DateTimeInfo, Connection Object