On 22 March 2002 at 15:32:33, Feingold Josh S <Josh.S.Feingold at irs.gov> wrote: FJS> <% if not rs.BOF and rs.EOF then %> looks like your logic might be going slightly wrong... try putting brackets around the BOF/EOF so you would have: if not (rs.BOF and rs.EOF) then ... end if hth, darren