| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
SQL.GetFieldOption
Gets a string value of a specific field option.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| SQL | 2.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SQL.GetFieldOption"; Command; Field; Key ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Command | The command reference number gained with SQL.NewCommand. | $Command |
| Field | The name or one based index of the field. | $Field |
| Key | A string key of the command option. | "" |
Result
Returns "OK" or error message.
Description
Gets a string value of a specific field option.Call this method to get value(s) of server specific field options. See Server specific notes.
see also:
https://www.sqlapi.com/ApiDoc/class_s_a_field.html
See also
Release notes
- Version 8.4
- Added SQL.GetCommandOptions, SQL.GetConnectionOptions, SQL.GetFieldOptions and SQL.GetParamOptions functions to query options list.
This function is free to use.
Created 18th August 2014, last changed 10th January 2020