|
Data Files gathers the necessary information for the template to set up the bookings Listbox. It Requires information about the Booking and Resource files.
If you have not already done so, you need to add the files to use under the "other" Table listing in the procedure. This can be done when you press the select button next to the File prompts.
Select the Booking file to use for this instance of the template (you can have more). Select the Key with the ResourceId, and Date and Time fields for filling the listbox. The Day grid requires a time field, the week, month, and year grid do not. They Key for these as well only requires a ResourceId and Date. The Time Field requirement is disabled when one of the other grids is selected.
Fill in the field names as appropriate. Check the "Add another Field for tooltip" if you want to enable Tooltips on the Listbox. Tooltips are handy to show information for the cell, because of limited space, only start and end times or dates are displayed. You need to supply a default tooltip, and you can build a multi-line display with the expression builder if you wish to display in the tooltip. Set the display length long enough to accommodate the data.
Select the Resource File containing the Resources that you want to "Book" against. There is an embed point provided for "Take Record Header" that you can use to filter unwanted resources with a CYCLE statement. Select a key that will determine the display order of the resource down the 1st column. Fill in the Resource Id field so the template can get the bookings for this resource. The Resource Display is an Expression so you can either use the field or build an expression from several fields as needed for the display. |