Solved

Date field History - Monitor Change!!

Posted on 2004-03-26
4
249 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

831 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