Inserting Data Through SQL

Inserting Data Through SQL

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?

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: