mja2112 Report post Posted 11/20/2012 12:26 PM 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
SupportTeam Report post Posted 11/23/2012 08:15 AM 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