Long strings

D

DanRoy

I have written an application in Access VB. I move data from/to Excel
programatically using VB. Excel allows strings > 255 characters to be stored
in a cell. Access limits string lengths to 255 characters. I have used
arrays of strings, where you could define an array to have 256 strings, each
256 cahracters long.

Can arrays be stored in an access table as a long string, so it can be
unpacked when exported?

If so, since i am limited to using access string-manipulation of the excel
input, how would i break down a 600 character input string from excel to be 3
strings in the array?
 
J

John W. Vinson

I have written an application in Access VB. I move data from/to Excel
programatically using VB. Excel allows strings > 255 characters to be stored
in a cell. Access limits string lengths to 255 characters.

Access limits Text fields in Tables to 255 characters... but you can use a
Memo field and store a gigabyte if you need to do so. String variables in VBA
are not limited to 255 (there's a limit but I've never run into it).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top