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.

Debug viewing of intermediate values

Featured Replies

What's the best way to get visibility into intermediate values calculated during a Script step? For example, I have the following script step:

Move/Resize Window[CurrentWindow, Height:Get(WindowHeight), ...]

and I want to see what the value for Height turns out to be.

Thanks!

You could set variables into separate global fields as the script progresses, then look at them afterwards. I would think of putting the global fields in their own table. You don't need a relationship to set global fields, just a table occurrence of the globals table.

If you have FileMaker Developer (which it appears you don't), then there is a Debug mode for scripts, which lets you run them 1 step at a time. Great for those pesky Loops, and as you say, intermediate values. You still often have to put the fields on the layout however, or you can't see what's happening. Get (WindowHeight) would not be visible (except visually as the height of the window).

How about...?

Show Custom Dialog, "Window Height =" & Get(WindowHeight)

  • Author

That did it. You've clued me into an important tool that I'd missed. Thanks!

Thanks to the other responder, too. I had a hunch that might be an avenue. sbg's suggestion was more like what I wanted. (P.S., I do have Developer, but I needed internal visibility to what was happening inside a step - which the debugger doesn't provide.)

Rick

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.