New “error formula” system variable

A new system variable is available to get the offending 4D code that generates an error. With 4D v15 R4 whenever an error is raised you have a means to get the offending code in addition to getting the error code, as well as the method and line where the error occurred.

To do so a new system variable has been created: “Error formula”

The behavior of this new system variable is the very same as “error”, “error method” and “error line”. It is automatically filled when an error is raised and you can only use it in an error-catching method installed by the ON ERR CALL command.

Example Database

For more details, please take a look at the 4D v15 R4 upgrade manual.

Caroline Briaud
• 4D Product Team Leader •Caroline joined 4D SAS in July, 2013 as an Engineering Manager responsible for new features definition. Caroline helped the Engineering team to put in place the R-release concept, with the new development process definition and its application within 4D’s engineering teams.Caroline is now leading the 4D Product team, mainly made up of Product Owners which are representing the customers within Engineering.Caroline started her career as a software developer in the mobile phone industry. She specialized in program management with an American company in an international context spread across US, India and China.