I would like to create a text variable that has 255 characters. If it isn't posssible what other options do I have?
Create variable longer than 255 characters
Collapse
X
-
Originally posted by jl2886I would like to create a text variable that has 255 characters. If it isn't posssible what other options do I have?
Code:Dim strYourVariable As String * 255 strYourVariable = "Philadelphia"
'(12 for Philadelphia and 243 'padded spaces')
Code:Debug.Print Len(strYourVariable) 'will output 255
-
-
Originally posted by kartikssHi,
If you want to create text variable more than 255 characters then use memo instead of text it has 65535
try this option it might work
thanks & bye
kartikComment
-
Originally posted by missinglinqAnd exactly how would you Dim that variable, kartik?
simply create a table you need create field name next to field go to data type and select memo instead of text
Thanks & Bye
KartikComment
-
Originally posted by kartikssYou don't require dim option here. no coding required.
simply create a table you need create field name next to field go to data type and select memo instead of text
Thanks & Bye
Kartik
A variable is Dimmed through code and as such there is no Memo variable.Comment
Comment