Start a conversation

Programming

Programming Tips and Tutorials within Scriptcase

  • GoJS Library is no longer available

    GoJS library is no longer available for native use in Scriptcase.  We have purchased a GoJS O&M license for Scriptcase 9 and, by our understanding, we could distribute GoJS to any number of end users,...

  • Increase in days, months or years

    If it is required to increase the days, months or years based on a date. In this example we are going to increase the months, the first thing we must do is declare a variable that contains the start d...

  • Create an Iframe within a field by passing a variable value

    To create an iframe within a Grid. First, the two related Grids must be created so that they can display the content. The secondary grid must be filtered by a variable so that it receives the value of...

  • Open a mailbox by Imap

    To receive or view emails through Imap within the SC, the imap_open function would be used.  Then, within an application of the Blank type you must create a method that will be responsible for carryin...

  • Updating a field through a Trigger

    To update a field through Trigger, you must first create a Trigger that runs within the database. In this example, a Trigger will be developed so that before updating (BEFORE UPDATE) it updates a cert...

  • Selecting records and generating PDF

    Today you will understand how to select records from a grid application and generate a Report PDF for each one selected. You'll need to configure two applications: grid and report pdf. See how below. ...

  • Use a procedure to display results in a form field

    In this tutorial you will be doing an example of how to call a procedure and display the result in a field. 1. We create a procedure, for example: 2. Then we call it on the onValidate event, and assig...

  • Call a procedure within the ScriptCase

    In this tutorial you will be doing an example of how you can call a procedure that exists within the database and you need to use it within the ScriptCase. 1. We have the following procedure: 2. To ca...

  • Cambiar el estilo de un campo dentro de un Formulario Registro Unico

    Para cambiar un campo de forma dinámica dentro de un formulario, se debe utilizar o crear un método JavaScript que va a ser el que va a estar dando el estilo al campo. Los pasos a seguir son: 1. Inspe...

  • Mensaje de alerta en botón y redirección en una misma aplicación

    En este tutorial veremos como crear un botón dentro de un formulario cuya función muestre un mensaje de alerta en base a una condición y redirija al mismo formulario con la macro sc_redir. Pasos: 1. C...