Advanced Record Facts
Want to take your Record Facts to the next level? Use these advanced tips and tricks to empower your staff to serve your people well, and maybe wow them along the way!
Percentages
Want to make it easy for your users to see registrations and Group percentages at-a-glance? Just set Show Percentage to Yes on the Page View Rules record. This is visually illustrated with a fill and is always compared against 100. So, if the value is 25, the Record Fact fill is 25% full. For this to happen, any comparisons must occur in the View and require advanced SQL. The comparison of Target Size and Current Participants must happen in a View, so the View returns a value of 25.
Age Calculations
Showing a Contact or Participant's age as a Record Fact is a no-brainer. If you want to calculate the age of deceased Contacts based on their Date of Death rather than the current date, use this in your Facts View.
Combine Values
An advanced or power user can create a record fact that displays milestones a participant has. When baptized, the fact also turns green and displays an icon. This allows the casual user to glance at a list and get all the information they need. Want to really empower that casual user? Set up a view notification to send them a periodic email reminding them to check the list.
Dates Without Times
Want to see the date something happened (for example, a birth date, registration date, or Event date) but not see the time? Add a little bit of code before the date field SQL so the Record Fact just displays the date.
Here's an example of removing the date from an Event Start Date Record Fact: