On 5/30/2013 5:51 PM, Tracy Pearson wrote:
MB Software Solutions, LLC wrote on 2013-05-30:
  Coworker has several CSV files that get fed into Access and she wants to
  produce an output in Excel that will only have unique rows, with no
  duplicates.  I was thinking the best way to do this would be a CHECKSUM
  for the row but not entirely sure.  I know when I import in MySQL, it
  has an option to ignore duplicate records (although I'm not sure how
  it's doing that behind the scenes...perhaps CheckSum, perhaps some other
  way).

  Suggestions on how to produce the unique rows in Excel?  How would you
  achieve a unique dataset in VFP?

  tia,
  --Mike

Mike,

In VFP, you pull them in to separate cursors, then UNION them together.

In Excel, you would need to script something.


Ah UNION...YES! BUT...what if the data within the same CSV file has duplicates? The UNION approach wouldn't work then.



--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to