DrawCommandClick and Refresh the Report
Hi there!
I have a report with 2 memos and when I click them in the preview I
want to change the values in the database and refresh the preview.
I solved everything but I can't force the TppReport to update himself
in the OnDrawCommandClick
I tried
Report.Reset;
Report.Print;
TppDrawCommand(aDrawCommand).Update;
But nothing did what I want. How can this be solved?
Gruß aus den Bergen
Günter
I have a report with 2 memos and when I click them in the preview I
want to change the values in the database and refresh the preview.
I solved everything but I can't force the TppReport to update himself
in the OnDrawCommandClick
I tried
Report.Reset;
Report.Print;
TppDrawCommand(aDrawCommand).Update;
But nothing did what I want. How can this be solved?
Gruß aus den Bergen
Günter
This discussion has been closed.
Comments
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Formatting/How_To...Refresh_the_Report_After_a_Drawcommand_Click
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Gruß aus den Bergen
Günter