Loading chart from blob field
Posted: Fri Sep 09, 2005 8:47 pm
I have a Delphi 7 utility that creates thousands of charts and loads them into a database. This "loader" utility utilizes TDBChart to make the chart, then I save to a file of type ".Tee" (Native) The .tee file is then loaded into a BLOB field in an Interbase database (Interbase: Just like Oracle only better). I now am building a "reader" utility that will display the charts that were built and stored previously. My question is this:
What is the best way to display the stored .tee charts?
1) TBlobField.SaveToFile(xxx.tee), then somehow load the .tee file into the TDBChart? (How do I do this?)
2) TBlobField.SaveToStream() then somehow load the TDBChart via a stream? (How do I do this?)
I need actual code snippets.
Thanks for any help you can provide.
What is the best way to display the stored .tee charts?
1) TBlobField.SaveToFile(xxx.tee), then somehow load the .tee file into the TDBChart? (How do I do this?)
2) TBlobField.SaveToStream() then somehow load the TDBChart via a stream? (How do I do this?)
I need actual code snippets.
Thanks for any help you can provide.