Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Juggernaut

Featured Replies

I know I'm doing something wrong. I want a repeating calc field (30 repetitions) to calculate dates 30 days beyond the selected date.

SelectedDate = date field where you select the date

calcDates[30] = repetition1 = SelectedDate + 1, repetition2 = SelectedDate + 2, etc

I originally had 30 fields calculating the previous field + 1 but that was cumbersome! There's got to be an easier way. I've tried a number of things:

Let( [ repetition=Get(ActiveRepetititonNumber); lastrepetition=repetition-1]; If( lastrepetition=0; SelectedDate; SelectedDate + lastrepetition ) )

-----something to that effect; anyhow, it didn't work

The most obvious:

SelectedDate + Get( ActiveRepetitionNumber )

(no good---I realized you must be in a repetition number for it to work)

I just want the 30 repetitions to autofill with the previous repetition + 1.....

hmmm. Ideas?

Try:

Extend ( SelectedDate ) + Get(CalculationRepetitionNumber)

Hi

try this:

Extend ( date ) + Get ( CalculationRepetitionNumber )

P.S.:P obviously result date (not number!)

Hi comment !!

You could try Extend... oh never mind. :joust:

  • Author

Extend doesn't work. I mean, it helps the calculation: now the fields contain data. BUT, not the correct data.

They all contain SelectedDate. None of them computed Get( ActiveRepetitonNumber ) ---- because no repetition was selected. Hmmm, maybe it's not possible.

Read more carefully?

Hi gephry

two answers with the same calc...do you think we are both wrong ?

Copy and paste that calc... or see what is the difference between CalculationRepetitionNumber and ActiveRepetitonNumber

  • Author

Ah blimey. My apologies. I hadn't even noticed the CalculationRepetitionNumber instead of ActiveRepetitionNumber.

Extend( SelectedDate ) + Get( CalculationRepetitionNumber ) does exactly what I intended whereas the other does not work at all.

Thanks for all your help!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.