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 4435 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

HI everyone

 

Im trying to do a field calculation which involves a date range - however I cant work out how to right an operator for a date range between 2 dates.

 

I have something like this:

 

If(course start date > Date ( 1 ; 1 ; 2013 ) <= Date(12 ; 31 ; 2103 ) ; adminfee received; 0)

 

What am I doing wrong please...

Basically if the course start date is between 01.01.2013 and 31.12.2103 then i want the admin fee to appear - if not to put a 0

 

thanks for your help

alison

Posted

Basically if the course start date is between 01.01.2013 and 31.12.2103

If 'between' those dates should not 1.1.2013 be included? Then calc should not be course start date > Date ( 1 ; 1 ; 2013 ) but rather >= (*greater than or equal to). And as pointed out, hard-coding the date isn't good idea because a developer will need to open the calc and change it every year (if it isn't forgotten).

Would it be safe to say that, if the CourseDate is dated one year following the current year then it should have AdminFee applied?

* I cannot make the FM symbol of >= (on ipad) which is equal sign with slash through it.

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