Quote:
Originally Posted by penfold
after having tried this and based on the above two text files the output that is produced is:
A0ABVB;00;2563;598
235649;03;2563;598
A0ABVB;00;2563;598
A0ABVB;00;2563;598
- what am i doing wrong? As what is should produce is the records in gmrd.txt that have the same second field as in core.txt
seems like the
SECOND field in
BOTH files is
NOT UNIQUE.
what gets printed out is the
LAST row from gmrd for a given
SECOND field.
seems like having
ONLY the second field is
NOT enough to identify records
UNIQUELY. You might consider either using a
DIFFERENT field and/or using a
combination of fields from both files to do your "lookup".