Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SQL.FieldCount
Returns the number of fields (columns) in a result set.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SQL | 2.6 | Yes | Yes | Yes | Yes | Yes |
MBS( "SQL.FieldCount"; Command ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Command | The command reference number gained with SQL.NewCommand. | $Command |
Result
Returns field count or error message.
Description
Returns the number of fields (columns) in a result set.FieldCount method returns the number of fields created implicitly after the command execution if a result set exists.
See also
- FM.SQL.CSV
- FM.SQL.Execute
- FM.SQL.Field
- FM.SQL.FieldType
- FM.SQL.RowCount
- FM.SQL.Text
- Matrix.Evaluate
- Matrix.Multiply
- Matrix.Text
- SQL.Connect
Example Databases
- SQL to other databases/Firebird Query
- SQL to other databases/Microsoft SQL Execute
- SQL to other databases/Microsoft SQL Server Query
- SQL to other databases/MySQL Query
- SQL to other databases/ODBC Query
- Third Party/FileMaker Snippet Storage
Blog Entries
Created 18th August 2014, last changed 13th January 2015
SQL.FetchPrior - SQL.FreeAllConnections
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins