getfieldid()
Description
Given a *.sbm file, a field name, and a table ID – see gettableid()
– this function will return the field ID in the system tables for
that table. If the field name is not present it will return
.nul and an error code in the
error parameter.
Prototype
getfieldid (
type(db1base) ,
integer sbmfile,
string tableid,
integer fieldname )
error
Parameters
| Parameter | Default value | Type name | Description |
|---|---|---|---|
| sbmfile | None | type(db1base) | |
| tableid | None | integer | |
| fieldname | None | string | |
| error | None | integer |


