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.

Should I use Repeating Fields or related records?

Featured Replies

I am designing a payroll book for our accounting staff that holds shift, absence, and overtime information. Each employee has a value for shift hours, absence and overtime for each day in a month. The reports that are generated are based on monthly summations.

I can see doing this three ways. The first is to define three repeating fields with 31 repetitions each, and then work around them. the second is what my supervisor wants me to do, is create 93 fields in place of the repeating fields mad.gif" border="0 . The final option, the one i think would be best, is to create a related file of daily records, and then just use portals and a relationship based on month/year/name. one problem with this approach is that the daily file would have TONS of records (150 employees).

Does anyone have any suggestions?

thanks,

Ati, Jedi Master

If you even think of using any approach except the third, I will "I told you so" to death when you post a message asking how to produce a total sick hours report! The problem with the repeating field approach is that it is EXTREMELY hard to extract data for reports. If each entry is an individual record, they can be sorted and reported by employee, project, or whatever. Don't worry about the number of records, they are usually small in size each and 100,000 record databases of this type are not a speed or size problem.

-bd

Hi,

The worst FM ever invented was the repeating field, they should have removed it when they came with there relationship-support under FM 3.0.

But the guys from FM realy have a backward-compatibility desease, so ...

Like LiveOak already suggested, don't use it.

So, go for the related file. Go, go, go ...

Erwin

  • Author

Thanks for the advise, i'm already halfway through implementing the related file solution. It's turning out to be much easier than i thought.

~Ati, Jedi Master smile.gif" border="0

so my suspicions are correct? there really is no reason to use repeating fields any more?

quote:

Originally posted by rhakka:

so my suspicions are correct? there really is no reason to use repeating fields any more?

Not entirely true. I use global repeating fields for storing variables and icons. Much cleaner than having to create a ton of globals.

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.