troubleshooting Question

track field names that were changed

Avatar of everetjo
everetjo asked on
Lotus IBM
8 Comments2 Solutions540 ViewsLast Modified:
Ok.  So I have a subform that tracks modified information in documents.  I want to have the following functionality.

the person that made the modification, the time the document was modified and what field(s) was\were modified.

I have a Modifers field with this code : @If(@IsDocBeingRecalculated; @Return(Modifiers);"");
@If(!@IsDocBeingSaved;@Return(Modifiers);"");
@If(@IsNewDoc;@Name([CN];@UserName);@Name([CN];@UserName) : Modifiers)

I have a ModifiedDates field with this code : @If(!@IsTime(ModifiedDates);@Return(@Now);"");
@If(@IsDocBeingRecalculated; @Return(Modifiers);"");
@If(!@IsDocBeingSaved;@Return(Modifiers);"");
@If(@IsNewDoc;@Created;@Now : ModifiedDates)

I have a Modifications field with this code :
@If(!@IsTime(ModifiedDates);@Return(Modifications);"");
@If(@IsDocBeingRecalculated; @Return(Modifications);"");
@If(!@IsDocBeingSaved;@Return(Modifiers);"");
@If(@IsNewDoc;"Created Document";@ThisValue : Modifications)

When I make a change in the database, I get the name of the person, two dates and nothing in the Modifications field.

Ideally, I would like the Name, the modified date and the names of the fields that were changed.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros