Jump to content

“Save as Excel..." not available when script is in pause


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

Recommended Posts

Yes there is a foundset present :-)

I am actually talking about the standard command "Save As Excel...". The script step Save As Excel works fine. This is actually the current work around. We created a custom menu with is called "Excel", and which simply executes a script with one script step: Save As Excel...

It is really the paused script that is causing this, if we cancel the script, the button becomes active again. We tried also playing with turning "Allow User Abort Off" on and off, as this has an influence on the availability of certain buttons (for example Preview is only active if the abort state is "Off").

Link to comment
Share on other sites

Actually I have a more general question about the behavior of custom menus and the buttons in the toolbar.

I really don't find any complete documentation about the behavior of the "default FileMaker commands". What is interesting me the most is to have some kind of list which describes when an action is active, and when it is de-activated. When you go into the custom menu items it is the Property "Usage" where I want to have more information about...

Does anyone has a source for this information?

Link to comment
Share on other sites

Actually I have a more general question about the behavior of custom menus and the buttons in the toolbar.

I really don't find any complete documentation about the behavior of the "default FileMaker commands". What is interesting me the most is to have some kind of list which describes when an action is active, and when it is de-activated. When you go into the custom menu items it is the Property "Usage" where I want to have more information about...

Does anyone has a source for this information?

Hello Andries,

The Custom Menu documentation covers just enough to show you how to create and edit menu features but it does not go into detail on the consequences of your Custom Menu choices. As a general rule, any time you alter the Built-In FileMaker function in a menu or delete it from the Menu Set it will "grey" out the function attached to the Icon in the status area. In most cases where Custom Menus are used the Status Area is locked away from the general user. So as a designer you can simulate the native Icons by first copying the icon as a graphic and pasting it to your layout with your new scripted function attached to the icon. Now both the Custom Menu item and the Icon have the same function.

But so far I have not seen a list such as the one you are looking for. I think one day we will see at least one FileMaker Developer write a book that will reveal untold discoveries like this.

Good Luck.

- Charlie M.

FMBiz.net

Link to comment
Share on other sites

Actually I have a more general question about the behavior of custom menus and the buttons in the toolbar.

I really don't find any complete documentation about the behavior of the "default FileMaker commands". What is interesting me the most is to have some kind of list which describes when an action is active, and when it is de-activated. When you go into the custom menu items it is the Property "Usage" where I want to have more information about...

Does anyone has a source for this information?

Matt Petrowsky, FileMaker Magazine, recently did a couple of videos on this topic.

link that you might find helpful. The videos are by subscription, but the cost is low for what you get.

HTH

Link to comment
Share on other sites

thanks for the link, we are working on investigating this behavior and listing for each command what privilegeSet settings, Allow User Abort State, script running Yes/No, ... are influencing the "grayed out" behavior.

But this takes a lot of time. When it is finished, I will post our findings.

Andries

Link to comment
Share on other sites

With respect, I don't see the point of such a documentation effort. FMP itself handles the activation or disabling of commands.

I suspect that the disabling of the Save as Excel command is due to something else. Is it a runtime or the full FMP client? What OS are you running? Have you tested the solution on other computers?

So as a designer you can simulate the native Icons by first copying the icon as a graphic and pasting it to your layout with your new scripted function attached to the icon. Now both the Custom Menu item and the Icon have the same function.

I do not understand this at all, and I don't think this is doing what you think it is.

If your custom menu set does not have a command, that command will be unavailable.

Link to comment
Share on other sites

With respect, I don't see the point of such a documentation effort. FMP itself handles the activation or disabling of commands.

I suspect that the disabling of the Save as Excel command is due to something else. Is it a runtime or the full FMP client? What OS are you running? Have you tested the solution on other computers?

We are running on FMP client, and tested it on several machines, with several files. The Save As Excel command is not available when a script is in pause...

I really think it is worthwhile to document it, because it is indeed FMP who handles this activation and disabling of commands. As I really want to make more use of the native toolbar, I want to understand when certain commands are available and others not (and honestly this "Save As Excel..." disabling, I suspect it to be a bug, as adding a button to my layout that calls this exact same command, works nicely when a script is in pause).

Link to comment
Share on other sites

  • Newbies

We are running on FMP client, and tested it on several machines, with several files. The Save As Excel command is not available when a script is in pause...

I have come across this same issue. I'm running a script that creates a report and pauses in preview mode for the user to look over before being given an option to print. At this point, the "Save as Excel" button in the Status Bar is greyed out, but the "Save as PDF" button is functional. If I cancel the script, and reenter Preview Mode, the "Save as Excel" button is no longer greyed out. Neither option in the Allow User Abort script step affects this.

I'm also thinking this "glitch" came with one of the recent updates as my client told me they used to be able to "Save As Excel" in this script, but suddenly lost the option when I updated to the last maintenance release (we're on 11.0v3). If someone could confirm this as a glitch or identify the cause, that would be helpful.

As a workaround at this point, I've set the "Allow User Abort" script step to "Yes" and am instructing them to stop the script so they can export but this means navigating back to the layout the script was activated from manually.

Link to comment
Share on other sites

I open previews in a new window. That way the user just closes the window to return to their previous interface. It also prevents the user's current found set etc from being disturbed.

Link to comment
Share on other sites

This topic is 4306 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
 Share

×
×
  • Create New...

Important Information

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