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.

Importing w/ Field mapping goes wrong

Featured Replies

I have a Customer List that is stored on my accounting software program. The Customer List is then exported to a .PRN file (basically a text file). Then I import the data into Filemaker. I use Field Mappings to make sure that the fields all match up. Each of the Customers in this list have a UNIQUE Customer Code. So I set up the Database with a field "Customer Code" and then map the 2 fields together.

It is supposed to import the data according to the customer code then update the record. If it does not find the Customer code, then it adds it to the list.

I also put a script to automatically do this importing. Accounting will be doing this so I needed to make it a simple 1-button action.

But here's the problem. it doesn't work all the time. The weird thing is that sometimes it imports correctly. and other times it can't find the match, and adds the entire list again into the database.

is this a bug in filemaker??? Anyone else experience this problem? is there a fix?

Or am I losing my mind??? confused.gif

I also have 2nd DB that does the same thing, except it holds the Shipping addresses of the Customer.

If you need more information, please let me know I'll be glad to give more info and details to the problem.

Thanks.

Accounting will be doing this so I needed to make it a simple 1-button action.

LOL laugh.gif

Hi, spon. I suspect the problem has less to do with the script than the relationship. Are you absolutely sure that the Customer Codes match at those times the import is not operating properly? No extraneous characters or anything? Verify that from the "holding-tank" database you import the .prn into directly.

Jerry

  • Author

LOL laugh.gif

Yeah yeah yeah... they are good at accounting. not programming smile.gif

I see what you mean. I should use a "holding tank" database, and import all the records into there. Then from there import all the data into the Customer Database. That is something I will try. I will let you know what I find in my tests.

Thanks!

  • 3 weeks later...
  • Author

It has been 1 week since I implimented this and there does not seem to be any problems! so the "holding tank" did it! Thanks for your advice and help! Beer-Chug.gif

Another thing to note, make sure the database into which you're importing has all records found before the import. Updating only works for records in the found set.

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.