FILEFLEX API REFERENCE



NAME
DBWriteMemo -- Update the contents of a memo field

SYNTAX
DBWriteMemo(field-name, field-data[, encrypt-flag, key])

CATEGORY
Updating Information

DESCRIPTION
If you use the DBWriteRec function and a named container to update a database record and that database contains one or more memo fields, you must update those fields' contents individually with the DBWriteMemo function. You supply two arguments: a field name and the name of a container that holds the memo field's new contents. Notice that this function operates only on the current record, so you must make the appropriate record current before calling this function.

If you wish to encrypt a memo, you'll need to use the "E" encrypt flag, along with your key code.

The FileFlex 3.0 write and read functions contain the same capabilities and limits of previous versions, even though the FileFlex file format now supports all FoxPro data types including binary and huge memos. Future versions of FileFlex will add intelligent support for large object data typing, but we've got plenty to keep us busy with the current release.


EXAMPLE
put DBWriteMemo("Notes",field "New Notes") into dbResult

INTERNAL FUNCTION NUMBER
25


Copyright © 1992-1998 by David Gewirtz, under license to Component Enterprises, Inc.
Contact: info@component-net.com

Casa de Bender