Create a button that generates the report
Generate a PDF report with a press of a button.
- Create the button:
- InProject view, right-clickMainWindow (type), and select .
- Hover-over the button, select , and enterGenerateReportButton.
- InProperties, setTexttoGenerate Report.
- Configure the button:
- InEvents, next toMouseClick event, select and select
- UnderMethod arguments, set theOutputPathproperty value.Enter the file path where you want to save the report.For example, enter:C:\Users\user_name\Documents\Reports\Report.pdf
- user_name
- Your Windows user name. For example,JohnDoe
Provide Feedback