Another simple question

Results 1 to 2 of 2

Thread: Another simple question

  1. #1
    Join Date
    Dec 1969

    Default Another simple question

    I have a database with a column called "bingo". I want a conditional statement that does one thing if "bingo" has something written into it, and does another thing if "bingo" is empty. I tried this:<BR><BR>if bingo="" then<BR> response.write "response if empty"<BR>end if<BR><BR>but it didn&#039t work. Any suggestions?

  2. #2
    Briggs Guest

    Default RE: Another simple question

    Are you sure its an empty string that is being returned? Or is it null? Try both conditions.<BR><BR> if rs("bingo") = "" or rs("bingo") = NULL then <BR> response.write("whatever")<BR> end if<BR><BR>Hope I am on the right track.<BR>&#060;/briggs&#062;<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