25% OFF FOR NEW LICENSES AND RENEWALS →

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…

Scriptcase v9.2 – All you need to know about it

Have you heard the news? Scriptcase has a new release (v.9.2), and today we will take a look at some...

Cache technique in PHP

Cache technique in PHP In this example we will check the actual optimization using a small scri...

A look at Scriptcase 9

In a daily basis this tool has given me great satisfaction, and very good and fast results in terms ...

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.