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…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

Comment this post

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

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.