Hello, hopefully someone can help me, I'm fairly new to Foxpro and so far google and this forum has been my best friend up until now.
I have written a program that generates a report using word automation populating multiple tables from a database. I have a template file due to ease of formatting (on the users end) which is written to and then re saved in a different place.
What I want to do is to create a graph from data written to excel (or word, I fidled around with using charts in word but it didn't quite work how I had hoped, it doesn't seem to update the excel data if the word table is updated) from a curser. I can link an excel file to a graph in word, however the problem is when I then save the excel template and word template to a new location it doesn't update the link.
I have read multiple forums on Graph automation but none of them seem to be what I am after. I would like to use the Graphs from Excel if possible. Is there a way I can just copy the graph from excel into word through foxpro? I thought about using macros but I would like to keep away from that if possible - but beggers can't be choosers.
I can post any of my code if needed.
Thanks for your help.
Gemino
I have written a program that generates a report using word automation populating multiple tables from a database. I have a template file due to ease of formatting (on the users end) which is written to and then re saved in a different place.
What I want to do is to create a graph from data written to excel (or word, I fidled around with using charts in word but it didn't quite work how I had hoped, it doesn't seem to update the excel data if the word table is updated) from a curser. I can link an excel file to a graph in word, however the problem is when I then save the excel template and word template to a new location it doesn't update the link.
I have read multiple forums on Graph automation but none of them seem to be what I am after. I would like to use the Graphs from Excel if possible. Is there a way I can just copy the graph from excel into word through foxpro? I thought about using macros but I would like to keep away from that if possible - but beggers can't be choosers.
I can post any of my code if needed.
Thanks for your help.
Gemino