Do you know what macros are? Macros are like fuctions already created by Scriptcase to help you developing the bussiness rules of your applications. You can find the complete list of those macros, with the explanation of its use and a few examples of its use, at HELP > WebHelp > Scriptcase Macros.

macros-help

To help you out to understand the usage of those macros and where it can be used there is a few hints that we like to share.

– All Scriptcase’s macros starts with ‘sc_’ something.
– Inside the applications events you can star typing sc_ and press control + space and Scriptcase will show what macro can complete what you’ve typed, showing you the full macro command for you to replace the parameters.

macros-control_space
– In the newest version of Scriptcase you will find a tab with the macro on the right side of the event text area where you can click and the macro will be pasted inside the coding area.

macros-insert_code
– The macros can be used inside the methods and libraries.

We have videos about the most used macros on Scriptcase.

Lookup macro video – This macro is used when we need to retrieve some data from the database.
Error Message Macro video – This macro will help to avoid the insertion of wrong information into the database.
Redir Macro video – This macro used to redirect users to another application on Scriptcase.
Apl Conf Macro video – This macro is used to change an application parameter in runtime using the apl conf macro.
Exec SQL Macro video – This macro will help you to execute SQL queries in the database.
Send Mail Macro video – This macro mail send with a practical example together with the run button feature on Scriptcase.

If you stil have any questions regards the macro usage on Scriptcase please contact us at sales@scriptcase.net

 

You might also like…

Deep Data: Creating Powerful Large Systems

Creating powerful large systems to support business processes in a cost-effective and accessible man...

How to recognize business models and processes from Deep Data Perspective

Listen to the podcast and learn how to recognize business models and processes from Deep Data Perspe...

Learn more about external libraries to improve your projects!

For those who ask themselves: " Which types of libraries can i use within Scriptcase? ", in this pos...

Comment this post

Get new posts, resources, offers and more each week.