Deleting Main Documents And Their Responses

Use a unique ID number for your main documents, call it something like UID.
Use the formula below for the creation of Unique ID's. Next, enable inheritance
in the response documents and allow a field (same field name for each document)
to inherit the UID of the parent. In your delete button off of the main
document you would set an environment variable to the parents UID, then run a
filer macro to run on all documents in the database with a SELECT statement set
to the environment variable that holds the unique ID. This macro should then
mark all documents that match the UID for deletion.
TD := @Text(@Today);
TT := @Text(@Time(@Now));
DateString := @Left(TD; 2) + @Middle(TD; 3; 2) + @Right(TD; 2) + @Left(TT; 2) +
@Middle(TT; 3; 2) + @Middle(TT; 6; 2);
@Left(@UserName; 1) + @Middle(@UserName; " "; 1) + DateString

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...