Equinox Online Help - Language Reference - A to Z
SetMaxLen |
|
|---|---|
| Applies to | ![]() |
| Syntax | SetMaxLen MemoItem, LengthExpression [,clear] |
| Action | [Statement] Sets the maximum length of a memo field. |
| Scope | Usable anywhere. |
| Notes | This statement is used primarily to set a new fixed length of a memo field MemoItem to LengthExpression for external calls. This is useful when the call expects an item of a particular size. The maximum memo size may not be exceeded. |
| Category | String handling |
| See Also | ChrList, Chrs, Compare, Fill, IsNumber, Left_Function, Len, Match, Maxlen, Mid_Function, Remove, Replace, Right_Function], Search_SearchNext, SetLen, SortOrder, SubstituteData |
| Example | The following method fragment sets the length of a memo to 1024 bytes. SetMaxLen ThisNote, 1024 |
