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

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

Recommended Posts

Posted

I have a script that's giving me some trouble. The last step is a Goto Layout, but it doesn't work.

Actually, the script step executes, but then for some reason the layout switches. I added custom dialog steps before and after the Goto Layout. When the second dialog come up you can see the window switch to the correct layout, but when you dismiss the dialog (which is the very last step) the window switches again.

Very annoying. Is this a bug? I can't find anything in the techinfo at filemaker.com.

Thanks,

J

Posted

What layout is specified in the Go to Layout [] step -- it's the bit in the brackets.

Posted

Hi spankalee,

Vaughan has probably nail the problem in suggesting that you check which layout is there (ScriptMaker will have it defaults to (original) unless you name one).

Update your profile (the link is just below your name "Profile"). The Operating System and Version can come in handy when we are trying to help. Not part of the problem here I'm sure, but it can help us help you provide needed information by knowing your info, plus let you know of Known bugs, fixes, etc..

If Vaughan hasn't nailed your problem, why not post your script here, along with the layout name you wish to end on.

HTH

Lee wink.gif

Posted

The part in the brackets is "Order Details" (Invoices)

This is actually the original layout I'm starting from. I've tried setting it to be original layout, but that doesn't work either.

I've determined (with the dialogs) that this script step is working as it should, but the layout is being switched after the script ends.

Lee: how can I copy and paste the script? Do I have to take a screen shot?

Posted

You can do this in a couple of ways. At least in OS 9 I can.

Print to PDF (or a Text File), copy that, and then paste it into your post.

If you know how to copy a window as text, that will work also.

(i.e. With the window open so that you can see all of the steps (you can open the the Script Step Box as large as your screen by pulling on the bottom right) and then use the Text Capture options of the system, Cmd, Option and 6. You will get the cross hairs and you use that to draw a box around the ScriptMaker Box).

Or, you can take a screen shot and attach that to your post.

Lee

Posted

Not sure about v7, but in earlier versions of FileMaker, you would have to run an external script to change Files.

HTH

Lee

Posted

In 7 all you need is a Table Occurrence and a Layout that displays records from that table. Then you can switch to that layout and work with the records in that table, so a Goto Layout in 7 is like running an external script.

Posted

So I tried calling my CreateBackOrder script from another script that has a Goto Layout ["Order Details" (Invoices)] after the Perform Script, and I still get the same behavior.

I can't tell what's causing this. I'm pretty sure it's a bug, but I don't know why it's not cropping up in my other scripts that do similar things.

How should I contact FileMaker about this? I assume tech support doesn't deal with things like ScriptMaker because then everyone would be calling them, but I do think it's a problem with their software and would like to find a workaround or at least report the bug.

This topic is 7431 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.