Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to define a memo field 1

Status
Not open for further replies.

easycode

Programmer
Jan 28, 2005
195
US
i just need to define a memo field by code

Dim myvar as string
Dim myvar2 as Memo ---> (This datatype does not work)


instead of memo, there's gotta be another keyword

Can anyone advise?

thanks in advance
 
Why not just use string? It can hold ~2 billion unicode characters.
 
i though string was only up to 255 chars

Thanks Golom
 
A String or Text field in a database table is 255 characters. In a VB program however, a String variable type is ~2 billion characters (however fixed length strings are limited to 65535 characters.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top