Originally posted by Mark Sreeves


Is this what you want to do:

Read the last line of plaats
check that klantnummer isn't already listed in "c:\erdatmp.dat"
and then add klantnummer to the end of the file.
about right, but instead of only copying plaats it needs to copy the entire record.
but for the rest you are right