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.

Performance when using subscripts

Featured Replies

Hi,

I've got a question: Will the extensive use of subscripts within a single database (not the use of external sub-scripts) affect the performance of scripts as a whole? Or in another way: Will splitting a single script into let's say 10 subscripts degrade the performace of the script, compared to leaving the script the way it is...

Greetingz,

Dodge

There probably is some, but I've never noticed a significant difference. The benefits of using subscripts far out weigh any downside.

-bd

LiveOak is correct.

There obviously some kind of performance hit, but I'd bet that if every script in your DB was only 2 lines long and you had thousands of scripts and you were doing a ton of loops, you MIGHT see or be able to measure the difference.

However in the normal course of action, you will be so much better off with lots of subscripts. Makes managing the scripting so much easier.

I still follow some old programming rules, which basically say that you should subscript anything that is repeated in more than one script, anything inside a loop, any script that is more than 20 steps long or anything that can be broken up into logical parts.

  • Author

Hi,

Thanks for both of your replies.

I don't think I'll be using thousands of scripts though, but since I'm working on a huge piece of software you never know! Most of the time, when working with standard databases, you won't need that much scripting. When you're trying to do things with FileMaker that are basically not meant to be done in a standard database environment, of perhaps only partially, things can get quite difficult. So if the performance isn't affected much, or at least not noticeable to the end user, I guess using subscripts is the best way to go.

FYI: I'm working on an Entourage like program, inside FM. I'm sure you know Entourage, so need I say more? I think it can be done. Whether or not I'll be able to do all that by myself is another question. I'm not sure which of the features I'll include, but I believe FM has many advantages over Entourage, especially in an existing Mac/FM environment.

Dodge

I would be very interested in seeing the finished product.

Kukuberra smile.gif" border="0

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.