Writing a Response Question

Results 1 to 2 of 2

Thread: Writing a Response Question

  1. #1
    Join Date
    Dec 1969

    Default Writing a Response Question

    In my table, I have several fields. One of them is named "title" and another "rated". Suppose I wanted to do a Response.Write to write the "title" but only where the record has a "1" in the "rated" field. How would I go about this? I appreciate the help, and thanks in advance.<BR><BR>Joshua

  2. #2
    Join Date
    Dec 1969

    Default RE: Writing a Response Question

    this is really not rocket science. it&#039;s a simple conditional<BR><BR>two ways :<BR><BR>1. don&#039;t select records where "rated" isn&#039;t equal to one in the first place<BR>2. If objRS("rated") = 1 then<BR>Response.Write "whatever"<BR>end if<BR><BR><BR><BR><BR><BR>j<BR>http://www.readthe****ingmanual.co.uk/<BR><BR>

Posting Permissions

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