Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6939 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.