Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted (edited)

Hi All,

Small Problem...Defined a field called "CurrentMonth" and a field called "Day" which is a repeating field of 31 days depending on the current month. If CurrentMonth = January 2010 then I want to have Filemaker auto-enter the numbers 1-2-3...31, etc. into the repeating field of "Day". Any ideas?

Edited by Guest
Posted

Hi Conultant,

I'm trying to make an attendance timesheet as part of a largr Payroll module. I'm using repeating fields because I dont want to create 31 fields for January for every month. I also dont want to have to repeat the exercise in 2011 and thereafter. Can you help?

Posted

I would suggest you create a separate record for each entry, instead of each month.

In any case, you could create such labels using a repeating calculation field =

Let ( [

i = Get ( CalculationRepetitionNumber ) ;

end = Day ( Date ( Month ( Extend ( Datefield ) ) + 1 ; 0 ; Year ( Extend ( Datefield ) ) ) )

] ;

Case ( i ≤ end ; i )

)

where Datefield contains any date in the specified month.

Posted

Thanks Conultant...that was helpful not only for the current issue, but also for another similar issue I was facing. You're a genius...

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