fmSQL Synch (v2.0)Garrison Computer Services |
Products >> fmSQL Synch >> Documentation >> Configuration >> |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Introduction - Features - System Requirements Installation - fmSQL Synch - SQL Plugin - JDBC Driver Setup Assistant Configuration - Field Setup - SQL Statements - Database Connection Integration - FM Database - SQL Database - Delete Log - Key Ranges - Merge Conflicts Conflicts Date & Time FAQ - Miscellaneous - Installation - Configuration - Integration Diagram |
ConfigurationAfter using the Setup Assistant, you can make further changes manually by editing configurations listed in "Configs" tab of "fmSQL Synch.fp7". Select a configuration in the list and click the 'Edit' button. Each record (or synch config) in the fmSQL Synch.fp7 file corresponds to one FileMaker table and one SQL table that are to be synched with each other. Here is a brief explanation of the configuration options:
Field SetupThese are the fields for FileMaker and SQL that should be synched with each other. The "Get Fields" button will set fields for the "FM Fields" option, using the fields from "SQL->FM (update)" layout of the database specified in "FM Database" option. IMPORTANT, the first field in both the FileMaker and SQL lists should be the primary key.
SQL StatementsTheses options hold the SQL statements used for querying and updating the SQL database. Placeholders (#01#, #02#) will be replaced with field values from FileMaker during the synching process. The "Create SQL Statements" button will generate statements for each of the following options, using the contents of the "SQL Fields" and "SQL Field Types" options.
Each of the above options for SQL Statements (except Select & Create Table) also has a corresponding Param Count option. The "Param Count" should match the number of placeholders in each SQL statement.
Note: The SQL Plugin returns records from a SELECT query in a pipe (|) delimited string by default. If any of the fields being synchronised from SQL to FileMaker contain pipe characters, you will need to change the "Field Separator" in the SQL Connection.
Database ConnectionThe database connection and login details can be different for each synch config. Using different SQL Connections allows each FileMaker table to synch to a different SQL database.
The "JDBC Driver", "JDBC URL" and "Hostname/Database" options all have direct counterparts in the SQL Plugin functions. Use the "test" (X) button next to each to check whether you have entered valid values. Click the "Connect" button to test whether you can connect to your SQL database using the current options. Check the "DB Status" text box after each test to see if the SQL Connection works. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||