Visual FoxPro 7
Windows 2000 Professional
I am using autograph.vcx on a form.
I am initiating the following code on the form.
SELECT WSSRDATA
SET FILTER TO wssrdate > {^2002/07/01}
WITH THISFORM._autograph
DIMENSION .aDataFields[3]
.cOutFile = "c:\jc\vfpgraph"
.aDataFields[1] = "wssrobs"
.aDataFields[2] = "wssrpresen"
.aDataFields[3] = "wssrawol"
.cCategoryField = "wssrdate"
.nChartType = 1
.nChartSubType = 1
.lSeriesByRow = .F.
.nAction = 2
.cGraphPrevClass = "graphpreview"
.cDefNewField = "olegraph"
.MakeOutput()
ENDWITH
I am attempting to store the graph created in the
table "vfpgraph.dbf" which includes a General field
called "olegraph" and one record.
I am getting an error message "The source graph table does
not have a valid General field."
The above code works OK when I change .nAction = 0
or .nAction = 1 - to simply preview the graph or create
the graph on another form.
Why does this not reconise that vfpgraph.dbf has a General field?
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only