CheckDataSource + Oracle
Posted: Wed Dec 03, 2003 9:34 am
Hi folks,
I got a problem with V5 (0.6.0) that didn't exist in V4.
This did work
Init
...
With .Series(1)
.Name = "Test"
.DataSource = "DSN=Ora;UID=usr;PWD=***;SERVER=srv;" & _
"SQL=SELECT dt, actval val FROM tab " & _
"WHERE dt > SYSDATE-1/2 AND id = 1"
With .XValues
.ValueSource = "dt"
.DateTime = True
End With
.YValues.ValueSource = "val"
End With
...
OnTimer
...
If .SeriesCount > 1 Then
For i = 0 To .SeriesCount - 1
.Series(i).CheckDataSource
.Series(i).RefreshSeries ' V4 didn't need this
Next i
End If
.RefreshData ' V4 didn't need this
.Repaint ' V4 didn't need this either
...
In V4 CheckDataSource would trigger teeChart to redraw the series every
time the OnTimer event occures. In V5 it doesn't.
What's wrong? Would V6/7 do this better (or was this a wanted improvement for V4 -> V5
Thanks
AndyR