• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

deleting a date from a set of dates

Hi all,

I have a field on the form which has multiple dates, between 1 and 50.
The field is an editable multivalued date field.
If I deleted one of those dates, is it possible to document that deletion?
Those dates are repeat dates, different intervals on the one document, they are not on separate documents?

Can I maybe create some sort of reponse document which has that deleted date so I can report on it later.
For example, If I want to know all the dates that I deleted from that date field, i can then visit a deleted view which has all deleted dates or something in that sort.

Thank you in advance.
0
varvoura
Asked:
varvoura
  • 5
  • 4
1 Solution
 
mbonaciCommented:
Hi varvoura,
I suggest you to use History subform on your form (to be placed tabbed table at the top of the form or the section at the bottom of the form):
    http://www.sw-guide.de/lotus-notes-domino/lotusscript-history/

It'll log any changes to fields you specify, who made them and the time they were made.

Hope this helps,
Marko
0
 
varvouraAuthor Commented:
Hi mbonaci,

Can I modify this so it tells me the exact modification of a field.
For example, if field1 has the following dates: 10/12/2006, 10/12/2007, 10/12/2008 and I decided to delete 10/12/2006, can this method show me the exact deletion or will it only show the history that this field has been modified with no additional info on the exact modifications?

0
 
mbonaciCommented:
varvoura,
it'll show you like this:

Date                    User                            Actions
06.06.2006.        Varvoura/Dmain         Changed field 'field1' (former: '10/12/2006; 10/12/2007; 10/12/2008")


Hope this helps,
Marko
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!

 
varvouraAuthor Commented:
I've seen that, but I was wondering if it also gave the end results.
I have found another example where it does give me the end results and I am trying to modify it right now.

Thanks for all your help, that's great, I'll leave this link, I may need it later.
0
 
mbonaciCommented:
varvoura,
what do you mean by end results?
The current value in the field?

You have it in the field :)

Marko
0
 
varvouraAuthor Commented:
Former = '10/12/2006; 10/12/2007; 10/12/2008"
If I delete 10/12/2007 then I'd like the field to display

Former =10/12/2006; 10/12/2007; 10/12/2008
Changed to = 10/12/2007; 10/12/2008"
I won't be deleting fields, they'll be many other users and I want to keep track of what exactly they are deleting.

0
 
mbonaciCommented:
varvoura,
lets say that the value in the field is:
    10/12/2006, 10/12/2007, 10/12/2008
and you remove
    10/12/2006

The history will then be exactly this:

Date                    User                            Actions
06.06.2006.        Varvoura/Dmain         Changed field 'field1' (former: '10/12/2006; 10/12/2007; 10/12/2008")

And the value in the field will be:
    10/12/2007, 10/12/2008



Now, lets say that tomorrow user Luka Kovach enters the document and deletes the value 10/12/2007.
Then the history will be:

Date                    User                                    Actions
06.06.2006.        Varvoura/Domain               Changed field 'field1' (former: '10/12/2006; 10/12/2007; 10/12/2008")
07.06.2006.        Luka Kovach/Domain          Changed field 'field1' (former: '10/12/2007; 10/12/2008")

And the value in the field will be:
    10/12/2008

So, you see, you will be able to track changes through history (and current field value).
In other words, you don't need to put the current field value in the history (cuz' it's not history, it's present time :)

Hope this helps,
Marko
0
 
varvouraAuthor Commented:
Thanks, I understand, but I did manage to put it there anywhere using another example, just for my sanity.

Thanks for all your inituitive help.
I'll close this question and you can have the points.
0
 
mbonaciCommented:
TNX
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now