Inserting Data Through SQL

Question:
I’m using ASP to register data in a DBF table through a SQL statement. I get data from a form (textarea) in an HTML page. However, the SQL statement returns an error when the user presses the Enter key in the textarea to change lines. How can I fix this problem?

Answer:
Try adding WRAP=VIRTUAL to your textarea definition tag. That will allow the user to hit the Enter key within the textarea and not cause your Submit button to trigger.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: