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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memo Data Types 1

Status
Not open for further replies.

itflash

Programmer
Jul 18, 2001
535
GB

Is it possible to create a memo variable rather than a 254 string?
 
No, unless you create a cursor with one memo field and one record.

BTW Your string can be longer thn 254, don't know te maz length.

If you really need a memo field you can also create a global object that has a private data session (f.i. a toolbar, a form, session) and create in it the cursor with 1 record and 1 memo field, and talk to this object and let it handle your large string storage.

In this case you would have a variable able to store data like a memo field.

HTH,
Weedz (Wietze Veld)
My private project:And especially for VFP rookies:
 
While a string constant (defined between quotes) can only be 256 characters, according to the VFP Help File (Index Topic - Visual FoxPro system capacities):

Maximum # of characters per character string or memory variable 16,777,184

Obviously to store this in a table, you'd need to use a Memo field.

Rick
 

Cheers, that VFP help statement resolves the issue.

Could anyone answer my other questio I posted?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top