if field is nothing

Results 1 to 2 of 2

Thread: if field is nothing

  1. #1
    Join Date
    Dec 1969

    Default if field is nothing

    i need a quick if stmt. if the field is blank i need to fire a resp.write<BR><BR>user_id is a number field.<BR><BR><BR>if (user_id = 0) then<BR> response.write ("user id equals nothing")<BR>end if // this won&#039;t work, the field is blank.<BR><BR>something like this:<BR> if (user_id = "") then // that won&#039;t work bec of a datatype clash, bt you get the idea.

  2. #2
    Join Date
    Dec 1969

    Default if isdbnull(user_id) then (eop)


Posting Permissions

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