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

Recommended Posts

Posted

How do you produce the results of a repeating calculation fields repetitions by its own internal calculation? Is this possible? For example if you wanted Field[1] to be 1 and Field[2] to be 2 and so and so forth via the fields own internal calculation. Why do I want to do this you ask? Because I want to set a repeating calculation field with 7 repetitions with the current weeks dates - repetition 1 being Monday etc. I can isolate the date range of the current week just wanted to know if I could produce a result in a repeating calculation field via its own internal calculation thus eliminating the need to set the repetitions with a script. I have been playing around but just get questions marks.

Posted

Get(CalculationRepetitionNumber)

http://fmhelp.filemaker.com/fmphelp_11/en/html/func_ref2.32.18.html#1028830

  • Like 1
Posted

Nice, thanks Consultant. I was coding to get it done cause I couldn't figure out the reduction quite yet. This helps a lot for further use. Thanks again.

  • Like 1
Posted

Maybe I can takes this to the point were repetition fields become a problem. Can a specific repetition number be conditionally formatted? Trying to shade current date now.

Posted

Can a specific repetition number be conditionally formatted? Trying to shade current date now.

Why would this require conditional formatting of a specific repetition?

Posted

Wanted to use conditional formatting to shade, highlight, or change fill color of a single repetition ( the repetition with the current date ). Is there another way to change a fields fill color other than conditional formatting. Formatting calculation functions only act on text right?

Posted

Wanted to use conditional formatting to shade, highlight, or change fill color of a single repetition ( the repetition with the current date ).

Yes, I understand that - but the condition is the same for all repetitions (i.e. for the entire repeating field):

Self = Get (CurrentDate)

Posted

Got it. Was using Get ( ActiveRepetitionNumber ) in conditional formatting calculation instead of Get ( CalculationRepetitonNumber ) - you'd think I would have learned. Any hoot heres what I have to share from it. This also includes a global that captures data for filtering relationships - events, task and such.

DatesCurrentWeek.fp7.zip

Thanks for the help.

Posted

I think you are making this more complicated than it needs to be, by working with text instead of directly with dates. Another by-product of this approach is that the selected date changes when you change the week starting day.

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