November 14, 200718 yr I having recently migrated to Filemaker Pro 9 Advanced from Filemaker 7. A script I used in 7, which was assigned to a button and ran very quick, now runs very slow in 9, when run from the same button. However, if I run the same script from the script menu in 9, it runs as quick as it did in 7. If anyone has any ideas as to why this is happening, I would be grateful.
November 14, 200718 yr what if you make a new button and attach the script again? Or what if you attach it to a custom menu item? Maybe there's some script parameter set with the button that's not there in the invocation from the script menu. (doesn't seem likely given that I don't think v7 had script parameters)
November 15, 200718 yr Author Thanks for your response. Had tried assigning to new button, but did not work. Also, did not want to put on custom menu, as we have approximately 40 databases and the users are used to running various scripts off buttons. However, since posting my question, I have found the solution by trial & error. when running the script from the button it was apparent that filemaker was performing an action on each line, which the user could see. This obviously does not happen when you run the script from the menu. Therefore, at the start of the script I put the Freeze window script step and now it works perfect from the button.
Create an account or sign in to comment