Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

Hi,

 

I have just started using filemaker and was wondering how I can get this formula, in access, run in filemaker

 

SRQuota: IIf([summary Report Date]>DateSerial(Year(Date()),Month(Date()),1),1,0)

 

So if a date falls within within the current month under Summary Report Date then SRQuota would equal 1.

 

Today's Date 7/4/2013

Summary Report Date 7/1/2013

 

then

 

SRQuota = 1

 

Thank you!

Posted

Month ( Summary Report Date ) = Month ( Get ( CurrentDate ) )

 

If you use this calculation in script then it would simply be:

 

If [ the above calc ]

... do something because it is true

Else

... do something else because it is false

End If

 

If you create a calculation with it then the calculation must be checked 'do not store calculation results' in the calc dialog storage options (bottom right in the calc dialog).  Let us know if you get stuck or if I'm misunderstanding your need.

 

And welcome to FM Forums!!!  :laugh2:

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