Solved
Forum Discussion
sriram_sig
7 years agoContributor
The example which you provided me earlier helps to create db connection, but i also want to use this same connection in other methods
tristaanogre
7 years agoEsteemed Contributor
Rather than a project variable, is there a way to make a variable declared in one Python unit available for others? In JavaScript, if you export a variable and then use the "requires" call in a subsequent unit, you can access that variable anywhere.
Alternatively, you could create a Script Extension whose sole purpose is to provide an ADO DB connection. that you can then access from anywhere.