Mattm Report post Posted 08/10/2005 07:52 PM This is my vb script: Dim CaseLocation CaseLocation = $RV[CheckLocationNumber_4_1] CaseLocation = LCase(CheckLocation) set vg = CreateObject("VoiceGuide.CommandLink") vg.Run_ResultReturn $RV_LINEID, "[ALocation]{" & CaseLocation & "}" set vg = Nothing I keep getting a End of statement expected line 2 char:19 Any help would be appreciated. Share this post Link to post
SupportTeam Report post Posted 08/10/2005 09:36 PM If $RV[CheckLocationNumber_4_1 was not defined then you would get error. To avoid getting error change this line to: CaseLocation = "$RV[CheckLocationNumber_4_1]" Also, I think the following line should be CaseLocation = LCase(CaseLocation) not CaseLocation = LCase(CheckLocation) Share this post Link to post
Mattm Report post Posted 08/11/2005 03:25 PM Thanks that worked perfectly. Share this post Link to post