IFIX Historical Reporting
IFIX Historical Reporting
IFIX Historical Reporting
. proRect re&erence must be made to the .DO #6 ObRect <ibraries# 1his can be at the picture level in
FIX Dynamics#
I& cn.DO Is 8othing 1hen
$et cn.DO I 8e2 .DODB#Connection
cn.DO#Connection$tring I HD$8 I FIX Dynamics ?istorical DataG UID I saG E/D I GH
cn.DO#Open HFIX Dynamics ?istorical DataH, HsaH, HH
'nd I&
I& rs.DO Is 8othing 1hen
$et rs.DO I 8e2 .DODB#Recordset
'nd I&
rs.DO#Open str*uery.vg, cn.DO, adOpenFor2ardOnly, ad<oc3BatchOptimistic
: Eopulate a grid control &rom the recordset results
Dim r .s Integer
Dim c .s Integer
r I 4
/hile rs.DO#'OF NK 1rue
grd?ist#Ro2 I r
For c I 6 1o 4
grd?ist#Col I c
I& rs.DO)c- NK HH 1hen grd?ist#1e(t I rs.DO)c-
8e(t c
r I r S 4
rs.DO#%ove8e(t
/end