Scott Pon Posted August 17, 2004 Posted August 17, 2004 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??? 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.
QuinTech Posted August 18, 2004 Posted August 18, 2004 Accounting will be doing this so I needed to make it a simple 1-button action. LOL 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
Scott Pon Posted August 18, 2004 Author Posted August 18, 2004 LOL Yeah yeah yeah... they are good at accounting. not programming 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!
Scott Pon Posted September 3, 2004 Author Posted September 3, 2004 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!
-Queue- Posted September 3, 2004 Posted September 3, 2004 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now