Is it possible to hide action when view has no documents?

If could get the TopLevelEntryCount in Formula Language, then I could do it probably.

Do you know how?

Thanks

Subject: Is it possible to hide action when view has no documents?

Do a DBLookUp to the View (or a view), and if @Elements=0, then hide the action.

Subject: RE: Is it possible to hide action when view has no documents?

Thanks for your response, File.

Below, I pasted examples of @DbLookup from help.

As I understand, @DbLookup does search for documents when key IS specified.

In my case, I do not have any keys.

If you think that use of @Elements(@DbLookup(…)) is possible to solve my problem, would you please paste an example.

HELP1: @DbLookup( class : cache ; server : database ; view ; key ; fieldName ; keywords )

HELP2: @DbLookup( class : cache ; server : database ; view ; key ; columnNumber ; keywords)

Thank you very much.

P.S. I am not making fun of anything, but you have very “computerized” name…

Subject: RE: Is it possible to hide action when view has no documents?

key := Emp;lookup := @DbLookup(“”:“NoCache”;“ISNOTES”:“1998 AttendancePHS.nsf”;“Negative Time Wk1 Lookup for Rev Period 8/1/99-7/31/00”;key; 2);

@if(@Elements(lookup)=0)