Jump 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.

Featured Replies

  • Newbies

We use a database to track subscribers to an annual service. Using two fields showing the date started and the date ended, I want to be able to calculate the number of days to the expiry date of the service (showing a minus value if the expiry date has passed). I tried the following, but obviously this fails when the start and end dates span end of year (ie start 4/12/02 end 4/12/03)B)

DayofYear(Ad ended) - DayofYear(Today)

Anyone got the solution?

Days (calculation, number) = Ad ended - Status(CurrentDate)

Subtracting two dates always gives a number result in days. Unlike "Today", Status(CurentDate) doesn't recalculate every time you open the file, only when needed.

-bd

  • Author
  • Newbies

Thanks for the rapid response. Unfortunately I am still getting incorrect results even using your formula. The Ad ended field is a date field and the "days to go" field is a number field. Yet I have a record showing an ad end of tomorrow's date but the number 7 showing in the days to go field!

You need to make the calculation field unstored.

Create an account or sign in to comment

Important Information

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

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.