- Total Members: 220,328
- Threads: 525,402
- Posts: 977,028
Great community. Great ideas.
Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.
-
December 17th, 2012, 03:19 AM
#1
Unknown chatachter '□□' being entereed into the database instead of a NEWwasn line
Hello,
I've been looking into the database because within Crystal Reports it wasn't outputting all the information from a field. I've now see a pattern where it is this character '□□' which occurs for a new line, I need to remove before the information is submitted to the database.
As the moment this is the code being used:
HTML:
<textarea cols="56" rows="2" name="txtPersonalMessage" id="txtPersonalMessage" style="font-family:Arial, Tahoma, Helvetica, sans-serif; font-size: 9pt; color:#43291D;"></textarea></td>
Which is posted to a page where this then happens:
PersonalMessage=killChars(Request.form("txtPersona lMessage"))
Which is then submitted to the database and within the query the section relating to the Personal Message is:
SQLSafe(Replace(Replace(PersonalMessage,"'","")
The site it built in Classic ASP and we are looking to remove the '□□' for a new line which can be stored an outputted in Crystal Reports.
I look forward to hearing some solutions,
Thanks
Shaun
Similar Threads
-
By RSS_News_User in forum Business News
Replies: 0
Last Post: July 20th, 2010, 08:00 PM
-
By spot in forum Windows Scripting
Replies: 4
Last Post: August 22nd, 2009, 12:44 PM
-
By friesr in forum ASP Development
Replies: 0
Last Post: January 24th, 2006, 01:15 PM
-
By jutiyi in forum ASP Development
Replies: 5
Last Post: September 8th, 2005, 01:21 AM
-
By tbird2340 in forum ASP Development
Replies: 1
Last Post: May 24th, 2004, 07:10 AM