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.

Return Based On Date Calculation

Featured Replies

On the enclosed table of newspaper issues (twice a month, 22 times a year), I need to pick out the next issue number based on today's date. I can get the date to return, but I can't figure out how to get the issue number of that particular date into other calculations throughout the db (invoices, running ads again, etc.) I think I am missing a relationship configuration, but it continues to elude me. Any help will be appreciated.

The relevant file is Issues, but you can see how I'm trying to use it in the Classified section where I want to include an ad in the next issue via button/script.

I'm using FMP 6 on an intel mac with snow leopard. -- and yes, it gets slow.

Any help vastly appreciated.

jay Gamel

Archive.zip

Try defining a relationship matching on date, and use a lookup to copy next higher value if no exact match.

  • Author

It never fails: 30 seconds after I posted this question, I figured out the answer. I had the relationship structured wrong. Two clicks and everything's working fine. f

Thanks for your swift reply. I'll have more questions later, no doubt.

Jay

Good. BTW, this could also be calculated - once you know the date of the first issue.

Similarly, in your Issues file, you can auto-enter the issue number as a serial number and calculate the date, volume, etc. from there.

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.