Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6186 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted (edited)

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
  • Newbies
Posted

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

Posted

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

This topic is 6186 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.