Print Page | Close Window

unterminated string constant error

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=6318
Printed Date: 31 March 2026 at 5:05am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: unterminated string constant error
Posted By: amisima
Subject: unterminated string constant error
Date Posted: 10 October 2003 at 11:44am
Hi,
I am getting the error "unterminated string constant".
I have an input box. When I type "affected party" and press submit. The submit button calls an insert function and it inserts into an Oracle database. This all works fine.
When I copy and paste "affected party" from a word document into the input box and press, submit I get the "unterminated string constant" error. I think the problem is the word document has a carriage return after the "affected" and then "party" follows the carriage return. I think the carriage return is cause the error. I am not sure how to go about fixing this problem.

Can anyone help?

Thanks,

Amisima



Replies:
Posted By: vshriniwasan
Date Posted: 10 October 2003 at 1:38pm
Do you have any single quotes. That could be causing it. It also could be concotination. Write that area and check it out....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net