Hi Koen,
EOF() will not be triggered if there are other detail lines belong to other header records. Fro example if there are two invoices and I am on the first one and the pointer is on the last detail line of the invoice and i issue skip. The record pointer will not move to eof() marker as there are still other details lines that match to a different header. If I am on the last line of the second invoice and that was the last detail line captured then the next physical record will be EOF marker.
Hence my problem.
Stuart Reid
True nobility lies not in being superior to another man, but in being superior to one’s previous self