.....drop lines from a file or do I have to do something like (pseudo-code) .... Open Output Open Input Read While Input If Record is a Match Then Write Output Else Nothing End Read Close Input Close Output Cheers, Cliff -- I think that Don Brash is a Labour mole. That would explain everything.