deleting a value from array


I have a field multi valued date field which is an array of dates between two date range.

I want to be able to record any deleted entries from that array. For example,

If I have 22/10/2005, 22/12/ 2005 and 24/12/2006 in that array.
If someone deletes 22/12/2005, I want to be able to record that deletion in another date field somewhere. Basically history of date deletions from that specific array.

Who is Participating?
Sjef BosmanConnect With a Mentor Groupware ConsultantCommented:
    @Subset(Array1; -1)
Sjef BosmanGroupware ConsultantCommented:
Isn't that the same as your previous question, with Array1 the before-array and Array2 the after-array?
varvouraAuthor Commented:
Not quite

Somehow, I am still going to tap on the agent question that you don't like, so forgive me here.

I have the array of completedtests and array of all testdates.

The first comparison array, I will use to delete all the dates in that array in case of changes made as it will be filtering those projected tests from the completed tests.

In this array/field, I would like to show those tests which they were showing in array one and never made it to array2, because the user decided to delete those tests before creating response documents for them. He just didn't want to carry on a test on that date.
For our recording purposes, we would like to have a report at the end to show the tests that we scheduled for that customer and another list to show the list of tests he missed (deleted so they don't carry the test on that date)
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Sjef BosmanGroupware ConsultantCommented:
From your other question:
> ... those documents which exists in Array1 and don't exist in Array2.

Here you have exactly the same:
> ... showing in array one and never made it to array2
varvouraAuthor Commented:
Opps, more likely, were showing in array and got deleted from that array, but have nothing to do with array2 yet.
varvouraAuthor Commented:
Can you pick up the lastest date value in a multi value date field.
For example, if in a sorted descendingdate field we have 22/05/2006, 22/3/2005 and 12/01/2005, then how can I pick up 22/05/2006 from that field to use that value somewhere else?
Sjef BosmanGroupware ConsultantCommented:

Btw there is a typo in the first line of code:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.