Memo fields are controlled by values contained in a memo field structure. The memo structure has many members in common with data field structures, allowing you to use many of the features available for data fields, such as begin- and end-field functions, user validation functions, active and inactive attributes, and more.
Editing and display of the memo field itself is accomplished using memory files, a facility of Vermont Views. However, you do not need to learn how to use the memory files in order to use memo fields.
Caution: Do not use memory file functions on memory files associated with memo fields. The Vermont Views data entry system counts on the memory files being in a certain state. Using memory file functions, especially those that replace, delete, or insert lines, will cause heap corruption and memory overwrites in your application.
When the user exits from the form, the complete contents of the memo buffer are copied to the data variable. By default, all trailing blanks are stripped from each line. Under the default settings, a space character is inserted after each line and the next line appended to the contents of the data variable (you can specify that a newline character be used instead). A null terminator is added to the end of the data variable to signify the end of the memo field data.