>Thanks for you previous help with my graphing problems. I am still having problems and was wondering if you can help. Let me further describe what I am trying to do. I have a table which was created using the Graph Wizard in VFP containing one general field (this file is used as a template). I have a program which allows the user to import new data into the application. This program copies the template file to the respective directory and updates the general field by building a data string and using the APPEND GENERAL field DATA array statement. This works fine, but does not allow the user to modify the graph. The graph is only displayed on a report. The user modifies the graph by double clicking on the General field of the database. So, I found a piece of code you had written to help answer another users questions and tried doing the following:
>
>I built the data string and opened the database containing the general field and used the APPEND GENERAL olegraph Data lcdata Class MSGraph statement. I know I ran the program at least once and this worked; although the user had to make many changes to the graph to configure it the way they wanted it to display on a report. Any time after that I tried to run the import program, I get the error OLE Error code 0x800401fe: Application was launched but it didn't register a class factory. I can not seem to figure out how to fix this error. And also does the above code look like it should work? Thanks again.
I have not seen this error message before, but upon running a search on Microsoft's site, I found the following
knowledge base article.
On the part where the user modifies the graph by double-clicking on the field you may consider creating a form with an ole bound control with recordsource pointing to this field. Of course the form's data environment should include the source table. Hope this helps.