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.

counting repetitions without repeating fields

Featured Replies

  • Newbies

I can't seem to figure this out and it should be very simple. I have 2 DB's. First called PROGRAMS (title, ID, length, second called SCHEDULE (Start time, end time, date). These two are related.

I put a program ID into the SCHEDULE DB and other info is inserted via a look-up.

WHAT I NEED is a count of which "play" I'm on when I insert the programID into the SCHEDULE. In other words, each program is inserted a varying number of times. I need to look at each insertion an see which insertion that is. For example: ID number 200 is inserted 5 times. I need to know that when I look at the second insertion it reflects (2), the 3rd insertion (3) and so forth.

I'm lost. THANKS

The easiest way is to look at a portal view in Programs. Unless a sort order is specificed for the relationship, the records will appear in creation order.

If you want a number field in Schedule which contains the occurrence # of a given ProgramID, it is best filled out when a new schedule record is created. Create a self-relationship in Schedule by ProgramID (SelfByPgmID). Create a field called Occurrence, Use a script to create a new record and set Occurrence in the new record to "Max(SelfByPgmID: blush.gif" border="0 ccurrence + 1)".

-bd

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.