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 6680 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

a global won't trigger any autoenter updates

... except on the record currently being modified.

Edited by Guest
Changed 'field' to 'record'
Posted

I misread the post, thanks for the correction. :wink2:

I was thinking the global was within ANY field with Auto Enter. It doesn't matter whether the field is indexed and will even work if 'Do not Replace Existing Value' is CHECKED. Using trigger would look like:

Let ( trigger = globalField ; thisField )

Because as trigger, a change to the global will change the field it is referenced in. And ANY field change will trigger modification. But of course it can't see other records and I was running on an incorrect assumption (global was in auto-enter) anyway. :

Posted

A fair share of these global questions (FAQ's) fall into tagging records for being over due, well searches can establish such facts ...but a reporting shy would like to eyeball every one and each. But wouldn't it be easier to establish a non equi selfjoin portal showing records falling in between upper and lower dates in a range controled by current date - such as:

Get ( CurrentDate ) - 60 ...as one threshold,and:

Get ( CurrentDate ) - 90 ...as the other one.

The poral will work pretty globalistic in behaviour during the day!

--sd

Posted

That is all helpful. Thanks for the replys and conversation. I definiely learned something. In the mean time I implemented a different solution to my problem. I was going to have FM insert a calulated value from a record to a record after searching based on the modifcation timestamp. I instead just had the id of the current record inserted via calculation into the global field. Then from the other table the script calls for inserting the calcualted value which is the value in the global field. Not sure if that made sense but regardless it works well.

Thanks All.

This topic is 6680 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.