General information
Category:
ActiveX controls in VFP
Hi, could someone please help.
I have created a graph through the query wizard.
I am using the code below to update the information in the graph.
The problem is, the .fpt part of the file I have saved the graph to grows every time I update and display the graph. What am I doing incorrectly.
Thanks in advance.
Mike Mayo
CODE USED
---------
currbuff=select()
#Define crlf CHR(13)+CHR(10)
#Define TAB CHR(9)
#Define ret_loc ""
Local lcdata
Select groupgraph && table that contains graph data
lcData = " " + TAB + RET_LOC + CRLF
Go top
Scan while !eof()
lcdata = lcdata + alltrim(month)
lcdata = lcdata + TAB
lcdata = lcdata + ALLTRIM(STR(xvalue)) + crlf
Endscan
Select grpgraph && table that contains the graph
Append GENERAL olegraph DATA lcdata
Select(currbuff)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only