skipping requests that don't have a recordset

Results 1 to 2 of 2

Thread: skipping requests that don't have a recordset

  1. #1
    Join Date
    Dec 1969
    Posts
    102

    Default skipping requests that don't have a recordset

    Ok, so I&#039ve got this page where some requests have recordsets, but the ones that don&#039t I just want it to skip over. When I go to use the recordset:<BR>SELECT CASE (rs.fields("field_name").Value)<BR>it hates me when there is no recordset for obvious reasons. I don&#039t want to response.redirect it elsewhere if there&#039s no recordset, I just want it to skip that part.

  2. #2
    keithadler@hotmail.com Guest

    Default RE: skipping requests that don't have a record

    How about If rs.RecordCount&#062;0 then SELECT CASE ... else ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •