Instead of Reset and Seek, you could use Append.
pritaeas
Posting Prodigy
9,313 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,465
Skill Endorsements: 86
My bad, my Pascal is somewhat rusty.
If you want to use Seek, see this link. You should not pass the FileSize, but the number of records it represents, so probably FileSize(F) div SizeOf(TLimits) .
pritaeas
Posting Prodigy
9,313 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,465
Skill Endorsements: 86