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

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

Recommended Posts

Posted

I'm trying to figure out how to script a find to pull up next week's depos. I'm using FMP to manage a depo schedule and every Wed and Fri of the current week we need to report to the client what depos are scheduled the following week. I'm using FMPv10 (advanced) and we have the solution hosted on FMSv10.

I'm using global calc fields to evaluate what today's date it, and add x number of days depending on what day of the week today is. For the end date of the range I'm taking the results of the start date calc and adding 4 days.

For whatever reason, its not updating or refreshing the date range as we proceed through the week.

Anyone have a solution or know of a previous post that will show me the proper way to set this up on a hosted solution so that each user when running the reports can have FMP automatically pull up next weeks records?

Thanks

Posted

I'm using global calc fields to evaluate what today's date it

Global calculations are stored and will not recalculate on their own. You should use unstored calculations - but you don't actually need any fields for this. Try:

Enter Find Mode[]

Set Field [ Datefield ; Let ( sat = Get (CurrentDate) - DayOfWeek ( Get( CurrentDate) ) ; sat + 8 & ".." & sat + 14 ) ]

Perform Find[]

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