docServerUserLandCom picture
Contents
Frontier Site

ubase.getField

Syntax ubase.getField (fnum, key, field)

Params fnum is the number which identifies a uBASE database while it is open.

key is the key identifying a record.

field is a four-character string which names the desired field.

Returns The value of the field.

Examples ubase.getField (1, "Washington", 'capi')
ª ´ "Olympia"

ubase.getField (1, "Puerto Rico", 'capi') ´an error

Errors It is an error if the desired record cannot be found, or if the database does not contain the requested fiield. An error is also produced if uBASE is not running or if fnum does not identify an open database.

Platform Notes uBASE runs only on Mac OS and is not a supported component of Frontier 5.0,

Notes If you want the values of more than one field in a record, consider using ubase.lookupRecord instead of this verb.

See Also ubase.lookupRecord


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.