Forum Discussion
MattHardy
4 years agoQrew 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
------------------------------
- GeorgeRomanowsk4 years agoQrew MemberThanks, {{a|count}} works. Just what I was looking for.
------------------------------
George Romanowski
------------------------------ - PaulPeterson14 years agoQrew Assistant CaptainThis is exactly what I need also, how would I use this as an expression to see if the count is equal to zero (ie, this is the first iteration)
------------------------------
Paul Peterson
------------------------------ - DonLarson4 years agoQrew EliteIn the syntax
{{a|count}}
ā
The "a" is the search step? ā
------------------------------
Don Larson
------------------------------- PaulPeterson14 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
------------------------------- MattHardy4 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
------------------------------