Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicate records
Message
From
12/04/2001 07:52:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00494441
Message ID:
00494784
Views:
22
>I do put the name like this: FUNB-04102001.TXT. I rename the file the same way in some cases. There are others where I have to name the file something else ao that another program that I have no control over can use it. This is usually when I run into this problem. Have any idea how to find duplicates int ehtables if thus does occur?

If there is no Primary Key or unique identifier in the incoming file that can be used to check against existing data. You would have to check each entire line against the data. And add each record individually if it was not found. I assume this is what you want to avoid. Since there is a new file coming every day. You could keep a log of when the files have come in and been entered. When you go to import your file check to see if the process has been done for that day. If so, then just rename it so the other app can use it.

HTH
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform