Programming result of report to a RichEdit control
Hi,
To quickly explain my plan, I want to email results of a report but allow
the result to be edited first by the end-user. I am limiting output to
richtext capabilities so that this can be fed to a RichEdit control and
modified, then I plan on feeding that result to a database that will
eventually trigger off an email at a specified date and time.
I want to use ReportBuilder to create the templates, stored in a database.
I want to then retrieve the template, run the report against a particular
record, and send those results to the RichEdit control. How would I go
about programmatically doing this? I realise there's probably a few steps,
so all help appreciated.
Regards
Alex
To quickly explain my plan, I want to email results of a report but allow
the result to be edited first by the end-user. I am limiting output to
richtext capabilities so that this can be fed to a RichEdit control and
modified, then I plan on feeding that result to a database that will
eventually trigger off an email at a specified date and time.
I want to use ReportBuilder to create the templates, stored in a database.
I want to then retrieve the template, run the report against a particular
record, and send those results to the RichEdit control. How would I go
about programmatically doing this? I realise there's probably a few steps,
so all help appreciated.
Regards
Alex
This discussion has been closed.
Comments
You may want to think about using one of the third party export tools to
export your entire repor to RichText format rather than trying to dump your
results into a TppRichText component. This way you could export an entire
report to a RTF file, load it into a TRichEdit and email it from there
automatically. I believe TExtraDevices and Pragnaan have built in emailing
capabilities so this could also potentially be another step you could skip.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have TExtraDevices so understand this is one way of exporting to a file,
and then loading into a TRichEdit, but was wondering whether there was away
to avoid the step of sending to a physical file.
Also what is required to retrieve a template and output it in the background
with out the user being aware of this process ie do I need an explorer
component to retrieve the template or is there another way? All I want the
user to see is the TRichEdit text created from the hidden process.
Regards
Alex
creating a physical file. An example of its usage is in the manual.
James Waler
Waler Ltd
http://www.waler.com
Alex