« Return to the main article
If you want to get the number of documents in a view, one way of doing it would be to use DbColumn. Yes, I know, it's not idea, but for a small scale solution it works:
max := @Elements(@DbColumn("" ; "" ;"ViewName"; 1));
Does this answer your question?
If you want to get the number of documents in a view, one way of doing it would be to use DbColumn. Yes, I know, it's not idea, but for a small scale solution it works:
max := @Elements(@DbColumn("" ; "" ;"ViewName"; 1));
Does this answer your question?