Noél Dubau Posted March 10, 2022 Posted March 10, 2022 in an FM script I have an error return from scriptmaster (error 14) when using the BaseElements command; but the script still succeeds. How to avoid the display of this message? dans un script FM j'ai un retour d'erreur de scriptmaster (erreur 14) lors d'utilisation de commande BaseElements ; mais le script aboutit malgré tout. Comment éviter l'affichage de ce message ? Merci Noël
ryan360Works Posted March 10, 2022 Posted March 10, 2022 Hello, You can suppress error messages coming from ScriptMaster by using the function SCSetErrorCapture(True). Note, this will only work when calling the functions as calculations. If you are calling functions as script steps, then you will need to use the native FileMaker function Set Error Capture On/Off. If that does not resolve your issue, can you please provide some more details?
Noél Dubau Posted March 10, 2022 Author Posted March 10, 2022 Thanks for your answer but : is that function SCSetErrorCapture(True) integrated in 360scriptmaster ? I don't find it in samples the FM command set error (in french Gestion d'erreurs) doesn't seem to avoid the messages error 14 as you asked details I join a screen copy of the message occuring after closing the first one...
ryan360Works Posted March 10, 2022 Posted March 10, 2022 My apologies that should be SMSetErrorCapture, the SC prefix is for SuperContainer.
Noél Dubau Posted March 10, 2022 Author Posted March 10, 2022 And it works fine ! Thanks and regards Noël
Recommended Posts
This topic is 1060 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 accountSign in
Already have an account? Sign in here.
Sign In Now