>>>Does anyone have a simple example of creating a graph programatically in VFP 5. Thank you.
>>
>>Denis,
>>
>>In the "tools" menu is a graph wizard (I'm assuming you are using VFP 5 or 6). Run through the wizard a couple of time then examine the resulting code. That should get you started.
>>
>>regards,
>Thanks James, but I have VFP5 which uses Graph5 and Office '97 which used Graph8, so I can't use the wizard. It tells me that "Graph is not installed correctly" even though I can use the graph in any office application.
Hi Dennis,
I am using VFP5 with Office '97. I have a routine that builds an excel graph. You pass it a table with the data and an array with the headers and footers and will create the graph, allow you to edit the graph, print, etc. If you need it, just email me, and I'll send you the prg file and a sample form.
-- stephen
Stephen.T.rushton@lmco.com