Given a saved search created in SS2, is there a si...
# suitescript
j
Given a saved search created in SS2, is there a simple way to just get a count of the number of results?
b
you can do a paged search and use PagedData.count.
j
@battk yeah that seems to be the way. Haven’t used Paged Search before. Seems weird that there’s no .count() function on either a search or ResultSet
k
You can just do .length on the results.
w
other way too is to add a summary type of ‘COUNT’ on internaild