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.

"hidden" layout shows up during scripted print

Featured Replies

  • Newbies

In versions 3-6, if you were scripting a print function, FM would keep the layout you were printing "hidden" e.g.

go to layout abc

go to layout xyz

print setup (restore, no dialog)

print (restore, no dialog)

go to layout abc

FM would perform the script and the user would never see layout xyz.

Now in FM8 I'm finding that even if I add a "freeze window" script step as in

go to layout abc

freeze window

go to layout xyz

print setup (restore, no dialog)

print (restore, no dialog)

go to layout abc

layout xyz is visible to the user, breifly visible, but it's really annoying. I called FM tech support and they said they can't duplicate the freeze window step not working.

Anybody have any ideas?

...a) try doing this in a different file

;) are you sure the freeze window is in the right place i.e. is the user meant to be seeing layout abc during the script?

c) if it works in the other file, it's likely you might have a corruption or something, try recovering your file.

~Genx

  • Author
  • Newbies

I spoke with Tech Support at FileMaker today. They said they could not get the "freeze window" function to fail as I have experienced.

They asked me to try a different file. I used a converted table from the previous version of the solution I am working on. Sure enough, IT had the same problem. In FM 6, the printed layout stays hidden. In FM8, the printed layout briefly appears while the script is beng executed. I tried inserting a freeze window step in the converted table. No joy. Still has the same problem.

I did recover the file per your suggestion. Still no joy.

I do not believe this issue is related to corruption at all. It is a behavior change in vs. 7/8. Scripts fire depending upon the table occurrence of the layout which depends (I believe) upon the selected window (active window?). I was able to duplicate the issue as well if you mean seeing the second layout and the flash of the print dialogs as they fired. There is no hiding it.

Please don't run recover on a file unless it has crashed or has serious problems and then simply as an attempt to save the data...

Meh, I always make duplicates of my files before I try to do anything dodgey, that includes recovering files... sorry...

~Genx

  • 2 months later...

This same thing happes to me in SOME cases. Not all the time. When I print an invoice, I freeze the window, and perform a sub script in another file, it works fine. If the print layout is in the same file as the freeze step, it seems to flash the "hidden layout". I hope there is a "fix" soon. Some of my users freak a little when the see it...

Shawn

ThatOneGuy offered a suggestion awhile back ... place the window totally off screen. No flash or partial window display. I haven't tried it yet but I know it will work. If you would like me to find the specific post, I will be happy to find it again. Basically, if you move it left, place the right side at -1000 (if the window is 989, for instance). I have it on my list of play things ...

Yup

I saw that thread and utilised thatoneguy's suggestion and no probs from then on. When you specify your new window I just specified it way off to the left and above.

Isn't it always the simple things?

Phil

  • 5 months later...

A little more info on this... I now have a mixture of ver 7.x and 8.x of FileMaker. On the ver 8.x, it works correctly. On The version 7.x, it will show the "hidden" layout.

Shawn

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.