Results 1 to 2 of 2

Thread: Scott

  1. #1
    Join Date
    Dec 1969

    Default Scott

    How can I prevent users on an asp from inserting more than 255 characters into a textarea without having to call a script every time a key is depressed, or store the value from a textarea in a single field in a SQL Server 6.5 database that is more than 255 chatacters?

  2. #2
    geeoff Guest

    Default RE: Scott

    Look at:<BR><BR><BR><BR>He uses the Len function to check the length of a string. If greater than 255 you could raise an error message. Or use the SQL equiv of a BLOB for the message field. Not the most elegant solution though.<BR><BR>HTH,<BR><BR>geeoff

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts