g.bevan Posted April 19, 2001 Posted April 19, 2001 Hi, I'm trying to define a calculation field that will count the number of times another field is modified. For example if field "Trigger" is modified, field "Counter" is incremented by 1. Any ideas? Thanks - Grahame.
BobWeaver Posted April 19, 2001 Posted April 19, 2001 There's also the self-modifying field trick which uses a self-join relationship, a calculated field and a look-up field to update whenever a change is made.
Kurt Knippel Posted April 20, 2001 Posted April 20, 2001 quote: Originally posted by Grahame: Hi, I'm trying to define a calculation field that will count the number of times another field is modified. For example if field "Trigger" is modified, field "Counter" is incremented by 1. Any ideas? Either control editing of that field via scripting or use one of the various script scheduling plug-ins (Azium Events or Troi Activator) to run a script that does the incrementation after you exit from that field.
Anatoli Posted August 28, 2002 Posted August 28, 2002 I am not incrementing the counter, there is the function: Status (CurrentRecordModificationCount) The number of times changes to the current record have been committed. Copyright
Kundinger Posted August 29, 2002 Posted August 29, 2002 Hello Grahame, You can do this by creating a 'log' field to keep track of every change to the field. Then create a 'count' field to count the number of items in the 'log' field: "LogField" (calc, text result) << GetField("LogField") & GetField("DataField") & "
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now