Filtering for Attributes on Tab Views |
Top Previous Next |
(From Newsletter #49, Feb 27, 2023)
DISCLAIMER: This article involves Advanced Customizations, which can be technically challenging to get working and is not part of standard support. This is programming and must be done precisely or the results can be unpredictable. This information is provided as a service for those who have the technical skills to work through it -- we cannot help you solve any issues with getting it working. For more information about Advanced Customizations, see the full documentation:
https://campgroundmaster.com/help/overview32.html
As of version 11.1, the Site Filter has an Advanced Condition option that can be used. One example of using this is to filter your Tab Views to only show sites with certain Attributes.
For instance, if you want to only see sites with 50 Amps in the On Site tab:
In the selection list at the top (which normally shows "All Site Types", or possibly "Default"), select the "Advanced..." option (2nd from the bottom).
Click the "Advanced Condition Expression" button in the Site Filter dialog.
Enter the following line exactly as shown (copy/paste works best):
Site:Attrib_50A = .T.
Note that there must be spaces around the = sign (and nowhere else).
Click Save, then OK. Now it will only show the sites with 50A set. Of course you can use any other field / conditions as long as it's only Site fields (you can't filter which Reservations are shown this way).
You can also use this function in the Default filter so it's part of the default site list.