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

If create an unstored calc and set it to = Get(WindowName) will that calc always show the correct name for that window, even with multiple windows open (but different names) and displaying the same record?

No, not always - only when the window is refreshed. If, for example, you change the window's title while it's not in front, it won't redraw and the calc will continue to show the previous name until the next refresh.

  • Author

Good point. But what if the user has no ability to change the window title?

If you've got static window titles on several windows all showing the same layout and the same unstored calc, will the calc ever show the wrong title for its window?

Get(WindowName) should show the currently selected window title, but if a window isn't the currently selected one, it still shows the "old" title in the calc field.

will the calc ever show the wrong title for its window?

I don't think so, but I want to be careful here, because it's difficult to imagine every possible scenario. The only thing I am reasonably certain of is that when the field is refreshed, it will calculate the name of the window it lives in - whether that window happens to be in front or not.

One interesting thing I've found with window names (and I've been advised that it is a feature not a bug) is that when files are hosted, the default window name is the file name with the server name appended in brackets...

Corporate Database System (FM Server 01)

... but the Get( WindowName ) function only returns "Corporate Database System".

Go figure. :

I can confirm this. But it shouldn't mess up anyone attempting to call a window or use a window name in a calculatioN (but I might be wrong). But as test, WordCount produces the word count based upon only the window name (or layout name if window isn't named) even thought it shows (the server) at the end.

I agree LaRetta... and I can understand why FMI has chosen to do this... but I looks up and sees "filename (servername)" as the window name, but really it's not.

If it bugs you, you can always set the window title to Get(FileName) and the server name will go away.

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.