
#Scriptcase macros code
To change the records of the second table (Client), put the following code on the onBeforUpdate Event. We change the client field of the formulary to select type and we create a OnChange Event on that field calling the method ‘carregarCliente’, including the following line:Ĭhanging records of both tables at same time Sigue una tabla de todas las macros y variables especiales de ScriptCase, incluida la lista de aplicaciones que funciona para cada una. In the onLoad event call our ‘carregarCliente’ method by entering the following command line: O Scriptcase disponibiliza uma macro bastante til para manipulao de datas, que uma processo muito trabalhoso, porm com o uso da macro scdate(Incrementa e Decrementa Datas), fica bem mais simples, exemplo: scdate (Data, formato, operador. Scriptcase tiene macros y variables especiales que le permiten al usuario manipular eventos, botones, aplicaciones, control de seguridad, manipular fechas, etc. In the first bracket inform the row of the matrix, on the second we inform the column. This dataset is a PHP matrix where we have two positions in brackets. The second parameter we reported a String with the sql SELECT statement to retrieve the values. you can give any name for this dataset, in this example we will name it customer. This macro have 2 parameters, the first is a dataset that retrieve the values. Here we are using the macros sc_lookup () with this macro can retrieve database records running a SELECT on any table in the database. Will create a PHP method called showCustomer, include the code below:Ĭompanyname, ContactName, stateid, city, address, CreditLimit Scriptcase tiene macros y variables especiales que le permiten al usuario manipular eventos, botones, aplicaciones, control de seguridad, manipular fechas, etc. In this application we have to create fields to show the values of the customer from the Customers table. Esta macro muestra una pantalla de mensaje Javascript.Scriptcase - La herramienta de desarrollo web mas eficiente del mercado, Crea sistemas web complet. Cambiar dinmicamente el tema de un proyecto con la macro scsettheme. we will show customers data in the form application of order.įirst we will create a form based application in the first table, orders table. Problemas al enviar un correo - scmailsend. We will use tables that represent orders and customers, where each order has its customers.
#Scriptcase macros how to
In this tutorial we will show how to show and manipulate data of two different tables in the same application with macros. Java is a registered trademark of Oracle and/or its affiliates.Showing fields of two tables in the same application. (disabled by macro 'scmenudisable').What is ScriptcaseAn efficient web development low-code platf.

For details, see the Google Developers Site Policies. This macro is used to enable a menu item structure. You can fork these repositories and use the code as a reference for your ownĮxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.

You can also find Apps Script samples on GitHub. Codelabs areĪvailable for most Google developer products and are published on theįind Apps Script-specific codelabs at the left under Codelabs. They combineĮxplanation, working best-practice sample code, and code exercises.

This macro identifies the selected menu item and other macro identifies the name of the application that was selected from the menu. Often, you can implement solutions without needing to edit orįind solutions organized by project type at the left under Samples byĬodelabs are hands-on, step-by-step technical tutorials. Scriptcase Macros: Menu Module - Menu Variables ( scmenuitem / scscriptname) 0:00 / 3:14. Realistic business problems and showcase how you can automate workflows across Solution samples are fully functional Apps Script projects. Try this simple automation that creates a

Quickstarts are available forįind quickstarts organized by project type at the left under Samples by Working with Apps Script in under five minutes. Scriptcase provides a very useful macro for manipulating dates, which is a very laborious process, however with the use of the scdate macro (Increments and Decrement Dates), it is much simpler, example: scdate (Date, format, operator, D, M, A). Quickstart samples offer quick, proof-of-concept code samples to get you This macro converts the date field passed as a parameter with an input format to another field with an output format.What is ScriptcaseAn efficient web.
