Is it posible to stop user to delete a attached file uploded by uplord control!

Hi I want to stop user to delete a attached file as once the document appear in edit mode one check box appear with the attached file and if we checked that, file will be deleted.

kindly help to provide some code or some idia if it is possible in lotus …

Thanks in advance…

Subject: is it posible to stop user to delete a attached file uploded by uplord control!!!

You are using lotus default attachment display method.

In order to resolve this issue, please do this

  1. Make a field named $V2attachmentoptions on the form , give default value as “0” to hide default attachment display and hide the field from web.

  2. Create a text - computed field and in the value event paste the code below.

x:=@URLEncode( “domino” ; @AttachmentNames);

“<a href=”+“/”+@WebDbName+“/0/”+@Text(@DocumentUniqueID)+“/$FILE/”+x+“>”+@AttachmentNames+“”;

make the field pass thru HTML

3)Hide the field when the document is New;

ie Insert formula @isnewdoc on Hide paragraph when formula is true of the computed field