Mandatory to have all indexes except persistent and encoding that are optionalĪrr_conn – See the full list of drives below. Physically created connections are stronger, sc_connection_edit should be used to change an existing connection.Ģnd parameter: array of items. If a connection physically exists with the same name, this macro will have no effect. Sc_connection_new(“new_conn_mysql”, $arr_conn) ġst parameter: the connection name. The macro can be used on any Scriptcase event and application. You can only use the index you want to change, but it is not required to give all of them. The array can have the following indexes: Sc_connection_edit(“conn_name”, $arr_conn) Ģnd parameter: array of items you want to change the current connection. That macro can be used by any Scriptcase application, the changes in the connection will take effect the next time you connect to the database. In a second step, Scriptcase will create a new connection dynamically to fetch data that will be used by a Grid application. On that example, Scriptcase will identify the company of the user who is logging in, changing the connection data dynamically for that user to access his company’s database. In this tutorial we will review a practical example of use for the macros sc_connection_edit and sc_connection_new on Scriptcase. Using Scriptcase is possible to create applications that will work with multiple connections to different database (also different types of database) on the same project, changing it dynamically in run-time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |