Hide Object When Calculations
Sometimes it's nice to revisit the basics and make sure you've covered all your bases when it comes to what you can do with certain features.
In this video, I take a good look at using the Hide Object When calculation and cover the various options I'm familiar with. This includes uses for the most basic True/False to an increasingly complex calculation which starts adding more and more operators. I also go over the use of containment objects and how they can simplify the use of the Hide Object When calculation.
Have you mastered the use of the Hide Object When calc? Are you integrating uses which account for the user's environment? If not, then give yourself a few minutes and brush up on using this powerful feature of FileMaker development.
Comments
your logic is wrong
the list is not empty when either first or last name is entered
your would have to use list count
Peter Cortiel
Exactly! I was trying to solve while recording...
Not a good combination. If you look at the sample file you'll see I switched to using a ValueCount around the List to ensure I had two values when expecting two values.
Thanks for the feedback and the catch. Hopefully others will figure it out and not read the solution in the comments. ;)
-- Matt Petrowsky - ISO FileMaker Magazine Editor