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 and Scriptcase: Revealing what goes on in a Business

Deep learning can give rise to something called Deep Data. Useful ways you can utilize Scriptcase to...

Tips on facilitators for developers – Part II

Hello! On the latest post i’ve shown some hints on facilitators for developers. On today’s post ...

Tips on facilitators for developers – Part I

Check out some options within Scriptcase that will work as facilitators that developers can use befo...

Comment this post

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