Jump to content

Monthly Jump


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

Recommended Posts

I would use two buttons for this - one for up and one for down - so that you can go back in case you clicked one too many.

Anyway, the action is simply:

Set Field [ YourTable::Datefield ; Date ( Month ( YourTable::Datefield ) + 1 ; Day ( YourTable::Datefield ) ; Year  ( YourTable::Datefield ) ) ]

 

Note however, that bumping a date of January 31st up by a month will return March 3 (or March 2 in a leap year), and so on for all ends of "long" months.  If that's not what you want, see: 
https://fmforums.com/topic/59942-frequency/?tab=comments#comment-284146

 

Link to comment
Share on other sites

Okay, let me add more information.

I have Table A where there are 5 records that are used as ongoing monthly entries. These records can be imported in Table B during the next month at any time. In order to save time, the date field must jump by one month. I've set up a loop to update the date field but my issue is December to January.

Link to comment
Share on other sites

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