looping question

Results 1 to 2 of 2

Thread: looping question

  1. #1
    Join Date
    Dec 1969

    Default looping question

    Hi all, <BR>Is it possible, when looping a recordset, if only one record are found that you can display a link to a page?<BR><BR>Say you have:<BR><BR>if recordsetreturnednumber = 1 then<BR><BR>response.redirect "user_details.asp?user=& user"<BR>else<BR><BR>Do While Not rsPollOptions.EOF<BR>rsPollOptions.MoveNext<BR><BR >end if<BR><BR><BR>can someone help me with the code pretty please?<BR>something like that I would imagine<BR> Loop

  2. #2
    Join Date
    Dec 1969

    Default RE: looping question

    hints.<BR><BR>recordset.recordcount<BR>keyset cursor<BR>if/else<BR><BR>should help.

Posting Permissions

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