Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6678 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have started to use the audit log function from Nightwing Enterprises as a really easy way to record the changes that occur in a record. It works superbly with one exception. It does not record changes made from a replace field contents command.

This seems to be because fmp does not provide the function through Get( ActiveFieldName )with the current information before proceeding with carrying out the remaining steps:

It cannot compare the state of the field currently from what was in the field originally, because it doesn't know yet what field is being activated.

My question is therefore how does the replace command differ from simply moving out of a field in terms of capturing Get( ActiveFieldName )?

Or can anyone fix the function to record the replace field contents operation?

I attach my test file.

Thank you for taking the time...

This excellent function is available free from www.nightwing.com.au/FileMaker

test.zip

Posted

Since I don't have Filemaker Advanced, I can't see what is in the Custom function. So, I can't help you there. But, some time back, I came up with a different method which doesn't require custom functions or scripts. It's in the Samples Area Here:

http://fmforums.com/forum/showtopic.php?tid/153729/

It correctly logs changes made with both the "Replace Field Contents..." command and the "Find/Replace" command.

This topic is 6678 days old. Please don't post here. Open a new topic instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.