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.

Need help with billing calculator - nearly there

Featured Replies

  • Newbies

Looking for quick help.

I've set up the following fields:

DAYS OUTSTANDING (this returns a calculated number result based on the number of days since the booking date).

late fee 1 = 22 late fee 2 = 33 late fee 3 = 66.

NOW: = Late Fee Calculated (this field should display the relevant late fee for a particular record, based on the number displayed in the DAYS OUTSTANDING field).

I am trying:

Case ( DAYS OUTSTANDING >14<31 ; late fee 1; DAYS OUTSTANDING >30<61 ; late fee 2; DAYS OUTSTANDING >60<91 ; late fee 3; )

===================================

If ( DAYS OUTSTANDING >14<31 ; late fee 1; )

If ( DAYS OUTSTANDING >30<61 ; late fee 2; )

If ( DAYS OUTSTANDING >60<91 ; late fee 3; )

===================================

Lookup ( DAYS OUTSTANDING {; If ( DAYS OUTSTANDING >14<31 ; late fee 1; )

If ( DAYS OUTSTANDING >30<61 ; late fee 2; )

If ( DAYS OUTSTANDING >60<91 ; late fee 3; )} )

===================================

Really need help on this one,

Thanks.

Try =

Case (

DAYS OUTSTANDING > 60 ; late fee 3 ;

DAYS OUTSTANDING > 30 ; late fee 2 ;

DAYS OUTSTANDING > 14 ; late fee 1

)

1) Comparison operators (<, >, =, etc) can can't be "stacked". It's Days>30 AND Days<61, not Days>30<61.

2) Use the first statement, the Case(), but change it per above. The way you're using If() and Lookup() doesn't make sense.

3) Learn the basics of Filemaker calculation syntax. It's not hard, but you've got misplaced semi-colons and you've got multiple functions without logical operators.

4) Change your skill level from Advanced to Entry Level or Beginner.

Edited by Guest

  • Author
  • Newbies

Thanks, it worked straight away.

  • Author
  • Newbies

I changed my user level to beginner.

I have had a look at Install OnTimer Script and notice the second(s) intervals to make use of it.

I want to write a cron job to enable a particular script to run every Monday morning at one minute past midnight.

Can you help me with this please?

I have had a look at Install OnTimer Script and notice the second(s) intervals to make use of it.

I want to write a cron job to enable a particular script to run every Monday morning at one minute past midnight.

Can you help me with this please?

Start a new thread.

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.