VoiceGuide IVR Software Main Page
Jump to content

Variables In $Rv

Recommended Posts

New to voice guide-

I was wondering is it possible to use a variable within a $RV-

I am running a sql query against a access db where the return results could be more than one row. I then want to present the results to the user and allow them to pick which item they want (which will then trigger a second sql query).

 

Since I don't know how many rows will be returned, how can I use the $RV to get the results to read? something like

$RV[LookUpProduct_1_x]

where x is a counter that will be incremented and looped through, stopping once there are no rows left.

 

Is this possible? I don't see anything like that in any of the samples.

 

Also another question, can the Play_Start in a VB script be used to read the contents of a text file instead of playing a wav?

 

Thanks!

Mike

Share this post


Link to post
is it possible to use a variable within a $RV

Yes. This is possible.

 

Use:

$RV[LookUpProduct_1_$RV[someCounter]]

 

where $RV[someCounter] is your counter $RV.

 

You can have deeper nesting of $RVs and multiple $RVs on same line etc.

 

Play_Start in a VB script be used to read the contents of a text file instead of playing a wav?

Yes, it can. Just specify the .txt file and its contents will be TTSd.

 

Please let us know if you have any questions.

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
×