thanks all; that's fixed it. 8-) cheers David. Ryan writes: > I typed: > >> == is a nurmical comparison operator, you are comparing strings, so use eq > > ^^^^^^^^ Numerical is also a perfectly > acceptable replcement for this word. > > I'm Surprised I even managed to click send without stuffing it up today > > :) > > Ryan >