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.

Update or delete all and import

Featured Replies

Hello,

I need clarification around importing.

I was having issues when I was importing records from an AS400 source: the issue was not with the import per se but with the "delete all" before the import. I would get "Communication with the host was interrupted and could not be re-established" (and it was not because of the PC going to sleep).

So I changed the import to update matching. Results are much better.

However I am wondering how to address the issue of when existing records (in FM) no longer exist in the source, how do I know to get rid of them?

Do I need to do a delete all on occasion (and monitor comm issues...) or do I need to have some sort of extra flag (like modified date) for each record and delete the records which have not been updated? Or is there some other way?

(this solution uses Server 8 Advanced on Windows, the import is done from a client)

Thanks for your ideas!

MF

Some members may know what a AS400 source is, but for those of us who don't, please explain further.

Lee

I honestly don't see how changing the beginning of the import from Delete All to Update Matching records would keep the import from losing communication with the host.

AS400 is database software. I started to learn it cuz my mom worked at a courthouse and it was the software they used. Then I was introduced to Filemaker and didn't look back.

Are you switching from AS400 to Filemaker or are you importing for some other reason?

  • Author

AS400 is an IBM machine. I am using ODBC to request data from a system that resides on this machine. I am querying an inventory table to obtain around 200 000 records (SKU, location, on hand, on transfer). Sorry if it was not clear.

It seems that delete all is an issue, when using the server (when I close the files on the server and use the client as the host to do the import, the delete all is fine). Doing the import/update seems to be better - no communication errors. My guess is that an update/matching does not touch the key fields and no-reindexing needs to happen. Delete all requires more processing.

Update: I've taken the path of adding a field with a modified date stamp. Any records that was not updated or added in the last import is deleted. The number of records deleted is much less. For some of the tables the update is lengthy but at least it completes uneventfully.

Edited by Guest

I honestly don't see how changing the beginning of the import from Delete All to Update Matching records would keep the import from losing communication with the host.

AS400 is database software. I started to learn it cuz my mom worked at a courthouse and it was the software they used. Then I was introduced to Filemaker and didn't look back.

Are you switching from AS400 to Filemaker or are you importing for some other reason?

Edit: How are you Lee been awhile. Still appreciate the special help you gave me years ago :

Odd, I thought I hit edit and got a new reply o_@

Edited by Guest

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.