Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7386 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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

Posted

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

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

Posted

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.

This topic is 7386 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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