Hello, Everyone!

Today we will show you a step-by-step tutorial that will teach you how to use this helpfull macro that Scriptcase offers to help users to change their connections.

Image01

 

EXAMPLE 1

We will start the example creating the databases, using MySQL DB

We will create three different connections: conn_1;  conn_2 and conn_3 and import one table of products :

Image02

 

Inside the Scriptcase we will create one new project.

Image03

 

Create one connection for each database (conn_1; conn_2 and conn_3)

 

5ae Image04

 

You can use the option “new connection” to create the new connections:

Image05

 

Or to use the option edit connection to edit the new connections:

Image06

 

You will be able to create different connections and use it dynamically inside your project. You can have them into the same database (MySQL + MySQL …)  or different ones, you can mix as you need (PostGree + MySQL + SQL Server…)

Image07

Create one form application, just to add the registers and test your connections later. You can use the main connection to create the form.

Image08

 

Run the application:

Image09 Image09

Create the security module to create the security applications.

Image10

 

Use the main connection you have to create the security.

Image11

 

These are the first steps to perform this macro, check our next 2 posts to complete this tutorial and to achieve the knowledge to use this feature as an advantage.

 

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.