Error of SetViewInfor in Embedded View

Hi All,Help!

The following formula generates an error message “cannot execute the specified command”.

list:=“”:@DbColumn(“”;@DbName;“By ID”;1);

key:=@Prompt([OKCancelList];“Select Document”;“Select document”;“”;list);

@Do(@Command([ViewExpandAll];@SetViewInfo([SetViewFilter];key;“ID”;1));

Using the code only in the Embedded View generates the message, but not the normal View.

Help!

Reference:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/47f788e2a347182585256f9f000192c9?OpenDocument&Highlight=0,SetViewInfo

Subject: Error of SetViewInfor in Embedded View

Embedded views use the show single category object of the embedded view object (on the Form or Page) to filter the view. @SetViewInfo allows you to use a similar technique on views that aren’t embedded.

Subject: RE: Error of SetViewInfor in Embedded View

Thank you!I will use the show single category object.