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.

Window freeze (crash) on a Mac

Featured Replies

  • Newbies

Hi,

I am a novice, but this problem seems like a genuine bug.

I created a database on a Windows XP machine using FMP 8v1. My home and laptop copies of the same FM program are on Macs, an iMac and a Macbook.

I sent the file to the Macs via email. Everything worked well for awhile, but now after the second time through a particular script the window will freeze permanently until quitting the file.

I took out all Freeze Window and Refresh Window steps from the script and went through and put a custom dialog in between every single line of the script, up to a point, so that I could pinpoint when the freeze occurs. It happens between "Show All Records" and "Show Omitted Only," leaving all the records showing on a frozen screen. The custom dialogs after that point in the script keep on popping up, indicating that different things are happening including layout changes, but the screen remains frozen. If I change the layout from the sidebar it moves the checkmark as if it had changed it, but the database part of the screen screen remains frozen until I quit and restart that file.

I have now updated to 8v3, the latest version, but the problem still occurs. If I send the file back to the PC, it still works properly there.

Any ideas on how to proceed?

Joe from MN

I'm not sure why this file would work W/O problems, and then stop working on the Mac, and continue to work on the Windows Machine.

Without seeing your file, I'm guessing that:

The Script is trying to access a file or function that doesn't exist.

Your file has some corruption in it.

Your Mac has a fragemented Hard Drive, or some other problem.

If you upload a copy of your file, others can look at the Script and test the file to see if they can spot something, or experience the same problems.

Short of that, you can paste a copy of the Actural Script being used.

btw, the Freeze Window Script Step should not be causing this problem.

Lee

Edited by Guest

  • Author
  • Newbies

Thank you very much for your response.

A couple of things: I don't think it is due to fragmentation, because it has occurred on two different Macs, one of them quite new.

I don't think there are any file references in any script. I have since extensively updated the file, making the scripting even more convoluted, but the same problem occurs, so I'm attaching this older and simpler version.

I am attaching a copy of the file, although I'm embarrassed at my novice scripting.

The script in which the bug seems to occur is "YS_New Slip" (but only the second time through after some other scripts have run). I have left in my troubleshooting custom dialogs, so you'll have to click through a bunch of those as you perform the following steps to recreate the bug:

1. Open the file.

2. Click on "Yellow Slips" button.

3. Click on "Add New Slip" button.

4. Click "Continue" button under Date field.

5. Enter a common letter into either Kind or Variety field and press Return.

6. Choose any item from the list by clicking on it.

7. Enter a quantity.

8. Click "New Slip" Button.

9. Now, as you click through the custom dialogs, is when the screen freezes. The custom dialogs will say that you are going to the EnterDate layout, but it never shows up. Clicking anywhere or attempting to change the layout or mode is useless.

I'd love to hear if this still happens on your Mac in FMP 9. Please don't drive yourself insane by trying to figure out my scripting! I am very grateful for your help thus far and will accept your sympathy.

NurseryOrdering2007.fp7.zip

I'm on my way out the door, so this may not be too accruate.

It appears that the second time through, your script is finding zero records.

I'll test more later, unless other post clear it up.

Lee

  • Author
  • Newbies

I have started to re-write the script without ever figuring out what exactly was going on. Thanks for taking a look at it.

Take care,

Joe

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.