>I have created a chart with MSGRAPH and placed it on my report form. It has special font and alignment changes in it. In the MS Knowledge Base I only find info on how to creat a new chart programatically. This does not allow for special formating changes. I am looking for the code to update my chart based on the following:
>
>DBF is statb.dbf
>Fields are : date, price
>
>Thank in advance.
You do your query, then generate the graph. Then,
DO UPDATEGRPH IN GENGRAPH.APP WITH "Graph.DBF", lnGraphNo
where Graph.Dbf is the table that contains the graph and lnGraphNo is the record number in the table.
This is documented in several KB articles. Go to
http://www.microsoft.com/vfoxprosupport and search for GENGRAPH.
Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer