No subject


Thu Dec 29 09:38:12 CST 2011


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.

In a application I use a text file is placed into a string variable defined
by
Public myString as String.

 I was under the impression that this line defined a variable length
string, but ran into a text file of approximately 5mb. This file would not
fit. The file contains less than 100k characters. So I asked around the
office and was told that actually the variable length string with 2bill
char limit referenced here is for VB only, and that VBA has a hard limit of
64K chars.

The actual error is:
Run Time Error 14: (out of string space)

Can anyone confirm this, or have any thoughts on the subject?

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



----------------------------------------------------
Is email taking over your day?  Manage your time with eMailBoss.  
Try it free!  http://www.eMailBoss.com

------=_NextPart_000_0028_01C2DD7E.0B894B00
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="winmail.dat"

eJ8+IiIPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANMHAgAaAAoAAQAAAAMABAEB
A5AGABgJAAAkAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA
AAAAHgBwAAEAAAA4AAAAW0FjY2Vzc0RdIHZhcmlhYmxlIHN0cmluZyBsZW5ndGggdnMgZml4ZWQg
c3RyaW5nIGxlbmd0aAACAXEAAQAAABYAAAABwt2n9Ajl+zp2U3VFOKm5CB+NrzWFAAACAR0MAQAA
ACAAAABTTVRQOkpDT0xCWUBDT0xCWUNPTlNVTFRJTkcuQ09NAAsAAQ4AAAAAQAAGDgCekt+n3cIB
AgEKDgEAAAAYAAAAAAAAAAs27Vu8qjJFkOTX4jZbWcXCgAAACwAfDgEAAAACAQkQAQA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gAAAAAAwAAAAAAAAEYAAAAAgoUAAAEAAAAC
AfgPAQAAABAAAAALNu1bvKoyRZDk1+I2W1nFAgH6DwEAAAAQAAAACzbtW7yqMkWQ5NfiNltZxQIB
+w8BAAAAmAAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABOSVRB+b+4
AQCqADfZbgAAAEQ6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcamNvbGJ5XExvY2FsIFNldHRpbmdz
XEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUAAAAD
AA00/TcAAAIBfwABAAAAOgAAADxEQ0VGSkFPRU5NTkVOTEFBT0ZHUENFRUVEQUFBLmpjb2xieUBj
b2xieWNvbnN1bHRpbmcuY29tPgAAAAMABhA4570cAwAHEGQFAAADABAQAAAAAAMAERAAAAAAHgAI
EAEAAABlAAAATVlUSE9VR0hUU09OVEhFU1VCSkVDVElNQUdJTkVBQ1RVQUxMWUFTU0lHTklORzJC
SUxMSU9OQ0hBUkFDVEVSU1RPQVNUUklOR0NBTllPVVNBWVNXQVBGSUxFT1ZFUkZMT1c/OwAAAAAy
eQ==

------=_NextPart_000_0028_01C2DD7E.0B894B00--





More information about the AccessD mailing list