ubase.getField
| Syntax |
ubase.getField (fnum, key, field)
|
| Params |
fnum is the number which identiÞes 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 Þield. 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 Þeld in a record, consider using ubase.lookupRecord instead of this verb.
|
| See Also |
ubase.lookupRecord
|