memo type

  • Thread starter -00Eric Clapton
  • Start date
0

-00Eric Clapton

How do I define a memo or data type larger than string in Access code?
Thanks.
 
0

-00Eric Clapton

In fact, what mean is to define the memo in Module code. Something like:

Dim variable as (memo)

How can I define as above?

Thanks.
 
D

Dirk Goldgar

-00Eric Clapton said:
In fact, what mean is to define the memo in Module code. Something
like:

Dim variable as (memo)

How can I define as above?

Dim variable As String

The String data type can hold up to 2^31 characters.
 
A

Al Camp

Eric,
Keying off of Dirk's response. If a string variable (at 255 chars) is
not large enough, you'll have to split your long "memo" string into several
string variables. They could be reunited later.

ex. MyString1 (255 chars) and MyString2 (84 chars)
Something = MyString1 & MyString2
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
 

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

Similar Threads

MEMO Field cut off on Form 3
Long forms with page breaks 1
Arranging text in a memo field 2
Access Making a memo in Access 0
Memo Field 4
Memo Field in Form 4
Alternative to Access 2007 Memo Fields 14
Memo Field Limits??? 5

Top