?
Solved

deleting a value from array

Posted on 2006-05-29
7
Medium Priority
?
160 Views
Last Modified: 2013-12-18
Hi,

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.

Thanks
Varvoura
0
Comment
Question by:varvoura
  • 4
  • 3
7 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16784210
Isn't that the same as your previous question, with Array1 the before-array and Array2 the after-array?
0
 

Author Comment

by:varvoura
ID: 16784272
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)
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16784310
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
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:varvoura
ID: 16784325
Opps, more likely, were showing in array and got deleted from that array, but have nothing to do with array2 yet.
0
 

Author Comment

by:varvoura
ID: 16784366
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?
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 16784483
Either
    Array(@Elements(Array1)]
or
    @Subset(Array1; -1)
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16876176
Thanks!

Btw there is a typo in the first line of code:
    Array[@Elements(Array1)]
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question