Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to check a table for duplicates???
Message
 
To
12/02/2002 15:51:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00619081
Message ID:
00619152
Views:
16
>If I had a primary field my life would be so much easier! To find duplicate records, I need to compare the dob,last_name, and first_name. Then I can combine the cost. Also, I'm going to need to check the license they are buying. Example, if first they bought a fishing license and second record they bought a hunting license, I need to make the license = to hunting and fishing along with sum(cost).
>
>Any ideas?
>
Sunshine,

Do you realize that you are losing data with what you are doing? The dates and the separate transactions will be lost forever when you combine these records into one. You might be best served to leave them as multiple records and use SELECT to bring the records you want together when you need them together.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform