FILEFLEX API REFERENCE



NAME
DBGetFieldByName -- The the contents of a named field

SYNTAX
DBGetFieldByName(field-name[, decrypt-flag, key])

CATEGORY
Retrieving Information

DESCRIPTION
You can obtain the value of a single field in the current record if you know the field's name using the FileFlex function DBGetFieldByName. This function returns the value of the indicated database field into the result variable.

This command can use a container name as an argument. In that case, FileFlex assumes the container holds the name of the field desired.

If you wish to decrypt a field, you'll need to use the "D" decrypt 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 DBGetFieldByName("EMPNAME") into field "Name"
put DBGetFieldByName("SALARY","D","aardvark") into pay

INTERNAL FUNCTION NUMBER
26


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

Casa de Bender