I'm not sure what code you're using. This thread is about the code in attachments to posts #1 and #12. The rest are hitchikers here.
SeekAbsolute from post#1 only takes one argument so your:
is incorrect since it is trying to pass two values.Code:F.SeekAbsolute 0, xlenRec * DStartRecord
The Position argument is Currency, not Long. Your problem is that you have used a Long expression.
However SeekRelative does take a Long argument, because that's all Windows supports for relative seeks.




Reply With Quote