Forum Discussion
MattHardy
Qrew Trainee
While working on something I came across a possible solution.
------------------------------
Matt Hardy
------------------------------
{{a|count}}
should return the number of records found in your search------------------------------
Matt Hardy
------------------------------
DonLarson
3 years agoQrew Elite
In the syntax
{{a|count}}
The "a" is the search step?
------------------------------
Don Larson
------------------------------
{{a|count}}
The "a" is the search step?
------------------------------
Don Larson
------------------------------
- PaulPeterson13 years agoQrew Assistant CaptainI understand that part, what I would like to do is add a condition to check if the count is equal to zero.
------------------------------
Paul Peterson
------------------------------- MattHardy3 years agoQrew TraineeTry adding an IF with an advanced expression. I haven't tested this, but I suspect
{{a|count}} = 0
would work
------------------------------
Matt Hardy
------------------------------- MarkShnier__You3 years agoQrew Legend@Paul Peterson You can check for zero natively.
Just delete the For Each after the search and insert condition. Then there is a drop down to check if the Step A (the search step) was empty or not.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------