Cisco 7921, VBSCript and Carriage Return

Unanswered Question
Oct 23rd, 2007
User Badges:

Hi all,

Does somebody know how to implement the following thing for Cisco 7921G phone.

I loop through the SQL-recordset and display the results (over 200 lines) in the phone, line by line. In 7920 the following works great: <CiscoIPPhoneText><Text>Loop, Response.Write variable & Chr(13) MoveNext, End Loop</Text></CiscoIPPhoneText>. That one writes the current variable and changes to the next line. In 7921, however, the chr(13) is ignored, and variables are written to the phonescreen consecutively. Using CiscoIPPhoneMenu is out of the question, because it shows only 99 records...

Hope you understood my problem...



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
stahkaoja Wed, 10/24/2007 - 02:28
User Badges:

No, doesn't work. I think those are for Javascript only?

Here is the code:



If Not rsData.EOF Then


Do While Not rsData.EOF

Response.Write rsData.Fields("VARIABLE") ' carriage return should be here




End If



msabir Thu, 10/25/2007 - 10:47
User Badges:
  • Bronze, 100 points or more

I used \n and it works.

stahkaoja Thu, 10/25/2007 - 20:09
User Badges:

ok, nice to know.

However, I cannot get it to work.

How would you code this line:

Response.Write rsData.Fields("VARIABLE") & "\n"

That just writes the \n in the phonescreen every time that line of code is looped.

If the variables were cat,dog,mouse then it would write cat\ndog\nmouse\n



This Discussion