In a view I want to get another view's information,such as documents count.
I used
tmp:=@Unique(@DbLookup("":"NoCache";"":"";"cancel";key;2));
total:=@If(@IsError(tmp);0;@Elements(tmp));
to get the count.But it only return 0,and it works good in a form.Which one
know why?
In a view I want to get another view's information,such as documents count. I used tmp:=@Unique(@DbLookup("":"NoCache";"":"";"cancel";key;2)); total:=@If(@IsError(tmp);0;@Elements(tmp)); to get the count.But it only return 0,and it works good in a form.Which one know why?