Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides Examples
New in version: 6.2 6.3 6.4 6.5 7.0 7.1 7.2 7.3 7.4 7.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/Firebird Query
- SQL to other databases/Microsoft Access Execute
- SQL to other databases/Microsoft SQL Execute
- SQL to other databases/Microsoft SQL Server Connect
- SQL to other databases/Microsoft SQL Server Query
- SQL to other databases/MySQL example
- SQL to other databases/ODBC Query
- SQL to other databases/ODBC to FIleMaker/ODBC Test
- SQL to other databases/SQLite blob
- SQL to other databases/SQLite fun
Feedback: Report problem or ask question.
MBS Xojo Plugins