Solved

Date field History - Monitor Change!!

Posted on 2004-03-26
4
250 Views
Last Modified: 2013-12-18
Ok Guys .. Thanks for all answers.
However .. I still am having problem with the data field. The Name & Module fields are captured correctly. However the date history is captured only for the most recent entry (Change).

Example - History Fields

JOHN SMITH   -    ABC   -   03/26/2004
MARK F          -    BCD   -   Blank (No date captured)
MIKE B           -    XYZ   -   Blank (No date captured)

HISTORY FIELD-1 : @If(!@IsDocBeingSaved | (@Subset(AM_History;1) = AM & @Subset(Salescode_History;1) = Salescode); AM_History; AM : AM_History)

HISTORY FIELD-2: @If(!@IsDocBeingSaved | (@Subset(AM_History;1) = AM & @Subset(Salescode_History;1) = Salescode); Salescode_History; Salescode : Salescode_History)

DATE HISTORY: @If(!@IsDocBeingSaved | (@Subset(AM_History;1) = AM & @Subset(Salescode_History;1) = Salescode); @Now; @Now : Inactive_Date) - THIS DOESN"T WORK!!!!
It only captures the most recent one..
0
Comment
Question by:chinnaji
4 Comments
 
LVL 9

Accepted Solution

by:
Arunkumar earned 50 total points
ID: 10691601
What is the datatype of Inactive_Date ?

If its a Text List then....

Try to make an @Text(@Now) like this and test...

@If(!@IsDocBeingSaved | (@Subset(AM_History;1) = AM & @Subset(Salescode_History;1) = Salescode); @Text(@Now) ; @Text(@Now) : @Text(Inactive_Date))

Regards,
Arun.
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 10707203
Oops! Not

    @If(!@IsDocBeingSaved | (@Subset(AM_History;1) = AM & @Subset(Salescode_History;1) = Salescode); @Now; @Now : Inactive_Date)

But

    @If(!@IsDocBeingSaved | (@Subset(AM_History;1) = AM & @Subset(Salescode_History;1) = Salescode); Inactive_Date; @Now : Inactive_Date)

That should be the formula of the date history, and the date history field is, I assume, named Inactive_Date
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

827 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