In this tutorial we will show you how to create a Calendar Report. We will use the demo database for demonstration.
Steps to Create the report
1. Open PHPMaker
Open PHPMaker and connect to the demo database.
2. Add a Calendar report
Right click Reports on the database pane then click Add Calendar Report, or click Edit in the main menu and then select Add Calendar Report.
A popup window will appear and ask if you want to create a new table for the Calendar report. Click Yes.
The Create Table window will show up. Click OK to create the table.
After creating the table, the Calendar Report Setup window will show up.
Enter the Calendar Report Name for the Calendar Report (e.g. "Calendar1"). Click OK to finish. The report will be added in database pane.
3. Generate scripts
Go to the Generate tab, click the Generate button to generate scripts.
4. Run the application
Browse the generated site, go to the "Calendar 1" report. You will see that an empty calendar report is displayed. You can click the Previous month (<) or Next month (>) buttons to go to different months, or click the month, week or day buttons to see different views of the calendar.
To add an event to the calendar, click the Add event (+) button on the top, or click on any date in the calendar.
Enter the required data in the Add form, click the Add button to add the event. The event will be displayed in the calendar.
To view/edit/copy/delete the event, right click on the event and click View/Edit/Copy/Delete.