APPLICATION DESIGN


Creating a calendar view
In a calendar view, documents that are created using a form designed for scheduling individual meetings, appointments, events, and the like, display as entries on a calendar. For an example of a calendar view, see the R6 Mail template (mail6.ntf) $Calendar view, and for an example of a calendar form see the form _Calendar Entry. It is best to create the form first, and then create the calendar view to display the documents created using the form.

To create a calendar view

You begin by creating a standard outline view. You can either complete Steps 1 through 10 for creating a standard view or you can convert an existing view to a calendar view.

1. Create a new view or open an existing view.

2. Open the View Properties box.

3. In the Style field, select Calendar. A dialog box appears. Click yes to continue.

4. Click the first column. In the Column properties box, select "Hide column."


5. In the Programmer's pane, choose one of the following and enter a value for the first column that will evaluate to both a date and time: 6. Open the Column properties box and click the Sorting tab. Choose the sort option Ascending.
7. Click the Date and Time tab of the Column properties box and check the Display Date and Display Time options.
8. Create a second column or click the second column of the existing view. The second column must map to a field or formula on the document that specifies, in minutes, the duration of the event and it should be hidden. In the Column properties box, select "Hide column."

9. Create a view selection formula that will select the documents to be displayed -- for example, _Calendar Entry.

Formatting options for calendar views

Once you create a calendar view, you can format it. Click the Date and Time format of the View properties box. The Date and Time format tab appears only when Calendar is selected for the view style. On the Date and Time tab you have the following display options.

Troubleshooting a calendar view
If the calendar view does not display as you expect, there may be a problem with the selection formula or with the definition of the first column.
See Also