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.

Featured Replies

I have two files, WTLB & MediaOffers. WTLB contains scripts from a program that we produce and contains programs for the past 3 years. MediaOffers is supposed to contain only 1 years worth of WTLB programs. When I run my import script it is importing all the WTLB records into MediaOffers. Here is my script:

Enter Find

Insert Text (MediaOffers:Program;WTLB)

Perform Find

Delete All Records --I am wiping all WTLB records and reloading the entire year

Perform Script ("FindRecordsForImport from File:WTLB")

Enter Browse Mode

Import Records (No Dialog;"WTLB")

Do I need to add an open file script step to open the WTLB DB before I do the first perform script. Then it would have the file open and the found set that I want to import? This is worked in FMP 5 but is not working the same now that I have converted to FMP 7. Any help would be appreciated.

Thanks!

John

This may be a bug that was fixed in 7.0.3 update:

http://www.filemaker.com/ti/109271.html

... or a problem with file references:

http://www.filemaker.com/ti/109350.html

... but most likely it's that your file has no open window*:

http://www.filemaker.com/ti/108763.html

...in which case the answer is yes, add an open file step and you should be ok.

*"In prior versions of FileMaker Pro, any attempt to import from another FileMaker file would only import those records that were currently in the file's found set. In FileMaker Pro 7 this same behavior holds true only when the file already has a window open at the time of import. So, when importing records from a table in a FileMaker Pro 7 file, the application will get the set of records to import from the file's front most window, if any. The application will use the table's corresponding found set in that window, if any. If no window or no found set is available, then the entire set of records for that table will be used for the import source."

  • Author

Thanks for the answer Tom! Is there a better way for me to do this in FMP 7? I added the WTLB database as an instance in the MediaOffers database and created a relationship. I then tried importing from the instance but it appears that there is no way to import from another table in the same database? Is that correct?

Thanks for the help!

John

I infer that by "instance" you mean Table Occurrence (TO). Or perhaps you mean table, or maybe both. Doesn't really matter. Whether or not you have a relationship doesn't matter either. You can indeed import from one table to another. Above the list of fields you will see a popup menu of tables.

  • Author

Hi Tom,

Yes, I did mean TO. I had tried to set the import from the same file but then change to the different TO but originally I hadn't installed the v3 updater. So it was kicking me out of the application when I tried to reference the same file to import from. That was what was causing the confusion for me. After installing the v3 updater, I am good to go.

Thanks for the help Tom!

John

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.