ontsjc
Technical User
- May 17, 2000
- 113
Hello All,
A program I have run for several years now has suddenly developed a strange error. I'm running FoxPro 9 on a windows 7 machine. I've been using MS Graph to run several hundred graphs a quarter for a few years now and have had no problems. All of a sudden I'm receiving and Invalid Path error when I copy a cursor to a text file to feed the graph. The offending line is:
where workdir is a varible defining the file path. When running these graphs, graphmake.txt is simply overwritten each time to make the next graph in the sequence. When I receive this error, I have to mannually delete the graphmake.txt file, and then the program runs fine again for awhile. The problem seems to crop up randomly. Deleting the file from inside the program does not seem to work. This error has only been happening since the beginning of this year. Previously, there seemed to be no issues. The MS Graph template is held in a general field and then once the graph is created it is appended to a differnt table's general field where the graphs hang out until I print them all off.
Any thoughts would be most appreciated.
A program I have run for several years now has suddenly developed a strange error. I'm running FoxPro 9 on a windows 7 machine. I've been using MS Graph to run several hundred graphs a quarter for a few years now and have had no problems. All of a sudden I'm receiving and Invalid Path error when I copy a cursor to a text file to feed the graph. The offending line is:
Code:
COPY TO (workdir)+'graphmake.txt' TYPE DELIMITED WITH tab
Any thoughts would be most appreciated.