mikemccloskey Posted November 9, 2005 Posted November 9, 2005 I am completely mystified. I would like to set up a website/page that collects information into an online database (sql?) that then integrates or downloads this collected info into FMP6. I see info on plugins, odbc, etc., but am stuck trying to understand this. Can anyone help? Thanks
Garry Claridge Posted November 9, 2005 Posted November 9, 2005 I believe many ways may exist to achieve this. One way would be to have FM "scan" the MySQL database periodically for any new data. You may be a ble to do this with AppleScript. The AppleScript could call a PHP script on the hosting server which returns new records. Good Luck. Garry
mikemccloskey Posted November 9, 2005 Author Posted November 9, 2005 Thanks Garry, will I need to have a plugin to accomplish this? Mike
mikemccloskey Posted November 9, 2005 Author Posted November 9, 2005 Hmmm. Don't know how to configure Applescript for this. Any other thoughts? Thanks Mike
Garry Claridge Posted November 14, 2005 Posted November 14, 2005 Here is the AppleScript I've used in a Scriptmaker "Perform AppleScript" step: tell application "URL Access Scripting" download "http://10.0.1.22/all/tests/fmsync/index.php" to "Library:WebServer:Documents:all:tests:fmsync:datafile.tab" replacing yes end tell The next step in the Scriptmaker script is"Import Records". That's it two lines! The PHP in the "index.php" script returns a tab-separated file with data from a MySQL database. Good Luck. Garry
Garry Claridge Posted November 16, 2005 Posted November 16, 2005 This has also been tested with FM7. Garry
Recommended Posts
This topic is 6939 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now