Delete

Hi all;

I have a view with three buttons addnew , lock and unlock.i need document will delete when it is unlock.

DocStatus:=“locked” then it is locked and unlocked:=“0”.

I wrote a formula………

@Command([ViewRefreshFields] );

FIELD DocStatus:=@If(DocStatus=“0”;@DeleteDocument;DocStatus);

@True

but it is not working.

pls help.

Subject: delete

Hi Rajeev, As I understand that u want to delete a document from a view through a action button.

Where u want to do this work in web or in Notes.

Please clerify this.

PAwan

Subject: RE: delete

Hi pawan,

I want to do it in notes. Not in web.

when i do this a red star is appered on the selection mergin side.

Subject: RE: delete

Hi RAjeev, Use

@Command([MoveToTrash]);

@Command([EmptyTrash])

In Place of

@deletedocument

Hope This will work

Subject: RE: delete

now it is working pawan