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

"If" statement based on a checkbox


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

Recommended Posts

Posted

I have two databases Attendance and Class List. There is a relationship connecting them based on [color:"blue"] Student Name . A drop down menu in the Attendance database defines if the student is "tardy" and a check box defines if the tardy was "excused" (0=not excused, 1=excused).

The Class List database uses the following "If" statement to count the number of tardys and subtract 1 if the tardy is excused:

If(Attendance::Excused=1, Sum(Attendance::#Tardy1)-1,Sum(Attendance::#Tardy1))

This formula works for the first occurance of a student but if there is a second tardy it doesn't subtract. When I check off the box, the sum stays at 1...

Thoughts?

-Ben

Posted

Origionally I had done that but it wasn't counting all the occurances over multiple records. I now have a field that counts the tardys and another that determines if it is excused. Then it finds the difference. My brain is working in Excel and trying to translate it to FM...sigh...

My new problem is as such:

Let's I have 200 records in the behavior database. I only want my report to return results for the last 14 days. How do I limit the report to this range?

- Ben

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