<<
With ThisForm.oleAgeGraph
.ControlSource = "curGraphs.Age"
.Type = 5
.ChartArea.Font.Name = "Arial"
.ChartArea.Font.Size = 8
.ChartArea.Font.Bold = .F.
.HasLegend = .T.
.Legend.Position = -4107
.Legend.Interior.ColorIndex = -4142
.Legend.Border.LineStyle = -4142
.SeriesCollection(1).Points(1).HasDataLabel = .T.
.SeriesCollection(1).Points(1).DataLabel.Type = 4.....
........so on
Here in this code I need to know about "oleAgeGraph" . Is this MSgraph object, added from provided activex or it is class object name?
>>
oleAgeGraph object here is an OLE object added to the form with the ControlSource being set as the general field in the database.
<<
Also please tell me the command If I want to append graph present on a form to a dbf table.
I know append general will be used for this but how would be exact sequence of that command like
append general thisform.olegraph.what?? in to ...
I have to show well fromatted graphs in reports.
I know in reports, we have to provide graph in a table as a ole stored in a general field of a dbf.
>>
Using the map thread look at my first post. There I created a tab delimited data string that is the datatable for the graph, sort of like excel would have it. Then used Append General to put it in the dbf table. You can use this as a ControlSource for the OLE on the form as well as the report.
<<
Could you Please explain best solution for this and also usage of your code provided me in ur last reply.
>>
I'll send you another piece of example code later today. Most of that code is in my other office.
Good Luck
Previous
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