Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

calculated field question - appreciate the help!

Featured Replies

School busing database for busing fee based on address distance from school (one database)

Fields:

student name

school

grade

whole address (calculated field based on #, street name)

distance

fee_required "Yes" or "No" calculated field based on distance from school and grade

Fee = $225 for each student who lives less than 2 mi from the school and is in grade K-6

fee_Total - HOW DO I WRITE A CALCULATION TO TOTAL THE FEES FOR EACH ADDRESS? One address may have 3 students going to 3 schools; 2 require a fee and 1 does not. How do I get the total for that address?

THANKS - very new to FileMaker and using version 6.0

DISTRICTClone.zip

Will your users tell the database whether a student is less than 2 miles from a school, or were you looking for a way to calculate this from the address? (This can be calculated from latitude/longitude, but it's not a simple matter.)

  • Author

We already ran it through a software program to calculate the distance, so I have that field already filled out with the mileage. That mileage then determines whether the field_required field is yes or no. What I wanted to do was add up all the "yes's" for a specific address and get to a total.

thanks

Do you have a Household or Family file related to the Student, or should we assume that duplicate addresses are always part of the same family?

  • Author

let's assume the duplicate addresses are part of the same family for now

Try changing your Fee_Total field to a Summary (Total of Fee_Amount) field.

With this in your sub-summary by wholeAddress part, you should be able to see the total Fees for each address.

I'd recommend you consider a relational design, as this will simplify data entry and give you more flexibility later.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.