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

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

Recommended Posts

  • Newbies
Posted

I'm wondering if it is possible to have a repeating date field and have it calculate dates based on the value from another field.

Basically I want to have the repeating date field create a schedule based upon the start date of a treatment. so if the start date is 1/1/2000 then 15 dates are calulated in one repeating date field. make sense? Any help is greatly appreciated.

email is [email protected]

thanks again

------------------

Posted

quote:

Originally posted by danny:

I'm wondering if it is possible to have a repeating date field and have it calculate dates based on the value from another field.

Basically I want to have the repeating date field create a schedule based upon the start date of a treatment. so if the start date is 1/1/2000 then 15 dates are calulated in one repeating date field. make sense? Any help is greatly appreciated.


You can do it via a script. With 15 Set Fields.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

  • Newbies
Posted

quote:

Originally posted by captkurt:

You can do it via a script. With 15 Set Fields.


Thanks. Can it be done without defining set fields?

Posted

You're not defining "set fields", you'd be creating a script which sets each repetition to a date based on the first repetition.

Frankly (and I'm surprised Kurt didn't mention this), repeating fields are generally a pain in the neck, and you'd probably be better off with either a relationship setup or with different date fields (with the dates calculated based on the "StartDate" field), just because it's more flexible that way.

I know, it gets more complex at first, but really, you'll thank yourself down the road.

Dan

Posted

quote:

Originally posted by danjacoby:

You're not defining "set fields", you'd be creating a script which sets each repetition to a date based on the first repetition.

Frankly (and I'm surprised Kurt didn't mention this), repeating fields are generally a pain in the neck,

I would have mentioned this (I cannot stand to use repeating fields) but I forgot!

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

  • 6 months later...
Posted

quote:

Originally posted by danjacoby:

You're not defining "set fields", you'd be creating a script which sets each repetition to a date based on the first repetition.

Frankly (and I'm surprised Kurt didn't mention this), repeating fields are generally a pain in the neck, and you'd probably be better off with either a relationship setup or with different date fields (with the dates calculated based on the "StartDate" field), just because it's more flexible that way.

I know, it gets more complex at first, but really, you'll thank yourself down the road.

Dan

Could you elaborate here a bit more my attempts at getting similar secenario to work have failed to date.

I'm trying to create an open modification history based uppon modified dates and a seperate record Id.

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