Jump to content
Server Maintenance This Week. ×

avoid error message


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

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Thanks for your answer but :

  1. is that function SCSetErrorCapture(True) integrated in 360scriptmaster ? I don't find it in samples
  2. the FM command set error (in french Gestion d'erreurs) doesn't seem to avoid the messages error 14
  3. as you asked details I join a screen copy of the message occuring after closing the first one...

Capture d’écran 2022-03-10 à 17.25.59.png

Link to comment
Share on other sites

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