Causing a Loop

Results 1 to 2 of 2

Thread: Causing a Loop

  1. #1
    Join Date
    Dec 1969

    Default Causing a Loop

    I just want to do some simple redirections based on a value in the DB. This should be simple and I cannot understand why I do not know how to do this by heart by now. What is wrong with code?<BR><BR>sSql = "SELECT * FROM tblCMProData WHERE tblCMProData.fldUserId = &#039;" & asplID & "&#039;"<BR>Set rs = conn.Execute( sSql )<BR><BR>Dim ProType<BR><BR>If (rs.BOF and rs.EOF) Then<BR> Response.Redirect ""<BR>Else<BR><BR> ProType = rs("fldProfileType")<BR> If ProType &#060;&#062; "B" Then<BR> Response.Redirect ""<BR> Else<BR> Response.Redirect ""<BR> End If<BR>End If

  2. #2
    Join Date
    Dec 1969

    Default RE: Causing a Loop

    What is happening when you run this code?

Posting Permissions

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