Results 1 to 2 of 2

Thread: String Limits

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    TX
    Posts
    10

    String Limits

    I am using the memo-blob fields from Access and from SQL server. Can I pass one large string to VB - or how do I handle something that is more than 3250 bytes long???


  2. #2
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    The following is a quote from MSDN:
    There are two kinds of strings: variable-length and fixed-length strings.

    A variable-length string can contain up to approximately 2 billion (2^31) characters.


    A fixed-length string can contain 1 to approximately 64K (2^16) characters.
    Note APublic fixed-length string can't be used in aclass module.

    The codes forString characters range from 0–255. The first 128 characters (0–127) of the character set correspond to the letters and symbols on a standard U.S. keyboard. These first 128 characters are the same as those defined by theASCII character set. The second 128 characters (128–255) represent special characters, such as letters in international alphabets, accents, currency symbols, and fractions. Thetype-declaration character for String is the dollar sign ($).
    Roy

Posting Permissions

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



Click Here to Expand Forum to Full Width