Thursday, August 7, 2008

Genie: adding red Reserves asterisk to other Loans reports

The Loans Renewal report shows a red asterisk next to titles that have one or more active Reserves.

You can apply this feature to other Loans reports, as well.

To do so, edit MyReports.config and add the following line where you want the red asterisk to appear in the report.

<Field UseFunction="IsActiveReserve" Style="Color:Red"/>

The IsActiveReserve function requires that the report also include the LoanItemBC and LoanCatID fields. If these fields are not already included in the report, and you do not want them to appear in the report, use the Visible="false" setting to hide them.

<Field Name="LoanItemBC" Visible="false"/>
<Field Name="LoanCatID" Visible="false"/>

Note: Including IsActiveReserve can slow down the speed of report display since determining whether to display the red asterisk requires searching Reserves for each record in the report.

No comments: