I wanted to refresh the bars with new values, defined inside a DBF-file
I don't get it working using folders at RUNTIME.
Closing and reopening the statistic, it works.
In case it doesn't work, I can change it using xBrowse.
The array is new defined from a DBF
but oGraph:Refresh() doesn't work in folder-page 3.
oGraph:aData = { { aJS1[1], aJS1[2], aJS1[3], aJS1[4], ;
aJS1[5], aJS1[6], aJS1[7], aJS1[8], ;
aJS1[9], aJS1[10], aJS1[11], aJS1[12] } }
new oGraph:aData are redefined from a DBF with 12 records
1 record = 1 month
DBSELECTAREA("UMSATZ2")
("UMSATZ2")->(DBGOTOP())
I := 1
DO WHILE !EOF()
aJS1[I] := ("UMSATZ2")->RE_SUMME
("UMSATZ2")->(DBSKIP(+1))
I++
ENDDO
("UMSATZ2")->(DBGOTOP())
Also tested from a folder-page change :
setting new bar-values from the DBF with no difference
IIF( nPage = 3, ( SET_GRAPH(), oGraph:Update() ), NIL ), ;
The month-values of a year are defined in folder-page 1
![Image](http://www.pflegeplus.com/IMAGES/TGraph1.jpg)
I can add the total-values to the year-statistic in folder-page 2
![Image](http://www.pflegeplus.com/IMAGES/TGraph2.jpg)
Folder-page 3 must show bars of the values defined in folder-page 2
but the bars are not repainted in page 3 showing the new values
maybe not possible to change the graph at RUNTIME ?
![Image](http://www.pflegeplus.com/IMAGES/TGraph3.jpg)
using xBrowse and Dialog, the repainting works fine
![Image](http://www.pflegeplus.com/IMAGES/TGraph4.jpg)
best regards
Uwe
![Question :?:](./images/smilies/icon_question.gif)