Jump to content

Dates to Buttons


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

Recommended Posts

I have 20 buttons on a layout.. each corresponds to a day of the week (m-f) for the next four weeks.. Is there a way to dynamically assign these dates autmatically to the buttons.. i.e. if on this Monday I assign the first button date and to all of the rest that the next four weeks will automatically fill in?

thanks

Link to comment
Share on other sites

Create a whole bunch of calculated fields:

cButton1Text = StartDate

cButton2Text = StartDate+1

cButton3Text = StartDate+2

.

.

.

cButton20Text = StartDate+19

Then for the button names, use merge fields:

<<cButton1Text>>

<<cButton2Text>>

<<cButton3Text>> etc.

Link to comment
Share on other sites

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