Looking for something else?
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