VoiceGuide IVR Software Main Page
Jump to content

Variable In Database Query Node...

Recommended Posts

Hi! I have 2 enviroment database: deploy and production, can i use a variable in 'odbc data source' field in query node as screenshot?

 

thanks in advance...

post-2-1090852834.jpg

Share this post


Link to post

VoiceGuide does not use Environment Variables directly.

 

You could try running a program or a batch file which would read/access this Environment Variable and return it's value to VoiceGuide - then the value of the Environment Variable would be assigned to a VG Result Variable and you can then use it in the DB Query module.

Share this post


Link to post

Right. I am using vbscript to initialize ths variable depending some internal parameters. My doubt is just if i can use this variable where you can see in screenshot.

 

thanks in advance

Share this post


Link to post

Sure you can, that's what the purpose of Result Variables is all about - being able to set them in one module for later use in another module... have you tried running this script yet?

Share this post


Link to post

No, i haven´t (i have a system in production...). I do not mean result variable, i mean to use a variable ($RV[]) in query node, in odbc datasource field, instead to use a constant odbc datasource.

Sorry about my english...

thanks

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×