Jump to content

Date Auto Enter


gersam

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

Recommended Posts

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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