Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Huge amount of records in FM db

Featured Replies

Anyone know a tricky and simple way to display huge amount of records from FM to webage using PHP?

I managed to fetch the records (about 98 records in table 1) to webpage using PHP.I use ODBC connection and i use FM pro 8.5 trial version.

My problem is that I have a huge records(> 200000) records in a table 2. When I try to fetch it to webpage as i did with table 1, it display fatal error saying maximum execution time exceeded. I try to increase the time in php config file from 50 to 300s, but still getting the error.

I know FX.php or FM PHP API beta version could be of help but it require FM advanced version which do not have trial version and my employer does not have budget for this.

Someone please help me on this.

  • Author

It run for a long time until my Apache crashed and forced to shut down..

Hi -- Can I ask as to what purpose you want to display 200,000 records at once for?

  • Author

Actually I want to read a records from FM and insert or may be update into MySQL.

Therefore I want to make sure the records is read by displaying it on the web page.

I want to make sure the records is read by displaying it on the web page....

The process will take about 100 times longer if you actually display the code.

  • Author

What would you recommend?

  • Author

Is that mean it would be better if I read and insert the record straight into mySQL(as a background processing) without display it?

Well, I would recommend you just script this from FM using the Execute SQL statement...

  • Author

Do you mean I can fetch the record from FM to MySQL by scripting in FM Scriptmaker?

How is it done? Sorry for the fundamental question as I am a beginner in FM.

Edited by Guest

  • Author

My main objective is to transfer records from FM to MySQL. I know there are tools out there to migrate from FM to MySQL, but still it involve a cost.

No -- I mean...

In FileMaker, there is a step called execute SQL .. as in you can cycle through FileMaker records, build sql commands and execute them...

In FileMaker Press F1, and go to the function reference -> Scripts and lookup Execute SQL statement.

Okay, I only saw your second post...

It's not overly difficult but i don't have time to put the sample together right now -- I'll try post one for you on Friday if no one else has helped you out by then.

  • Author

Alright.. no problem..

thanks in advance

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.