Skip 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.

Looping scripts and external Data

Featured Replies

I have a script I'm in the process of writing. Here is the pseudo code for what I want to do.

--- start of pseudo code ----

Go to first record of attendee list

Does attendee have associated person record?

If not import record from external database (Oracle- connected via ODBC)

Go to next record until end of attendee list.

--- end of pseudo code ------

My question do I have pause somewhere in the script to allow for the import to finish up or will the script wait until the import is complete before moving onto the next script step? I want to be able to loop this script and make sure that I don't run into timing issues.

Paul

  • Newbies

I'm certainly not an authority, but I would think you are ok to run without pausing it. If you import records from a filemaker db, it will wait until the last step is done. In any other situation I can think of, it waits for the previous step to finish before it goes onto the next step.

It never hurts to just try it and see. Testing is always a part of development.

Would you not be able to just find those that do not have an associated record and then import those at once shot?

  • Author

Would you not be able to just find those that do not have an associated record and then import those at once shot?

I would love to this post is related to my post in the External Data source forum. Until I can get a view created that I can link to, I figured this is the easiest way to import just the records I need from the external Oracle table. I have the key I need to retrieve records from the external table already in FMP.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.