Information générale
Catégorie:
Contrôles ActiveX en 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)
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement