Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 8.5 Statistic
Initialize a new SAConnection object and returns Connection Reference.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
The ID to use instead of default one.
Must be unique. If none is provided, the plugin will create one.
An error or a connection reference number.
DescriptionInitialize a new SAConnection object and returns Connection Reference.
The Connection represents a database connection. You must have a connection before you can operate on the database - furthermore the connection needs to be connected. It is important to note that connection objects are not connected during construction - it is up to the user to explicitly call Connect method for the object after it is created and before it is used. Once connected, a connection object is normally shared by the other objects that require a connection (e.g. commands).
Use SQL.FreeConnection to release connection after you finished.
SQL connection reference numbers are starting at 23000 and counting up for each new connection.
Create new connection
Connect to MySQL and run a query:
- SQL to other databases/ODBC to FIleMaker/ODBC Test
- SQL to other databases/Firebird Query
- SQL to other databases/Microsoft Access Execute
- SQL to other databases/MySQL Query
- SQL to other databases/SQLite blob
- SQL to other databases/ODBC Query
- SQL to other databases/Microsoft SQL Execute
- SQL to other databases/SQL Export
- SQL to other databases/Microsoft SQL Server Connect
- Third Party/FileMaker Snippet Storage
Created 18th August 2014, last changed 7th February 2017
Feedback: Report problem or ask question.
MBS Xojo blog