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.




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 :



Inside the Scriptcase we will create one new project.



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:



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



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…)


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



Run the application:

Image09 Image09

Create the security module to create the security applications.



Use the main connection you have to create the security.



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…

Scriptcase uses the MVC template?

Maybe you might have thought about this at some point, “Scriptcase uses the MVC templates?" Well, ...

How to implement A2F using Own Development in NodeJS in a Scriptcase application

A2F using Own Development in NodeJS A2F: In a previous article, we talked about Swivel as an extern...

Specialists or generalists, who gets a better advantage by using Scriptcase?

Hey there! Today  we will figure what are the ideal profiles for those who wish to take advantage o...

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.