amolinero Report post Posted 07/26/2004 02:40 PM 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... Share this post Link to post
SupportTeam Report post Posted 07/26/2004 08:51 PM 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
amolinero Report post Posted 07/26/2004 09:23 PM 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
SupportTeam Report post Posted 07/26/2004 09:41 PM 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
amolinero Report post Posted 07/26/2004 10:21 PM 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
SupportTeam Report post Posted 07/26/2004 10:29 PM Yes, you can use a Result Variable in the Datasource field. Share this post Link to post