Solved

Date field History - Monitor Change!!

Posted on 2004-03-26
4
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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!

Question has a verified solution.

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

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
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 Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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