Web developer

Results 1 to 4 of 4

Thread: Web developer

  1. #1
    Marios azzam Guest

    Default Web developer

    I have ODBC to access database.<BR>A table in the database contains a field of type Memo.<BR>When applying an if statment on that fields like this one <BR><BR>If ResGetNews("Margintext") = null or ResGetNews("Margintext")<BR>="" Then <BR> response.write("hello") <BR>end if <BR><BR>(where ResGetNews is the name of the recordset )<BR>It is not getting into that if even if the field is empty. But if I change the field top type text everything works just fine.<BR><BR>Thank u for ur cooperation <BR>Marios Azzam <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Web developer

    Try this !<BR><BR>if IsNull(fldname) Then<BR> code goes here<BR>end if<BR><BR><BR><BR>

  3. #3
    J Guest

    Default RE: Web developer

    read this:<BR>http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=80

  4. #4
    NPKumar Guest

    Default RE: Web developer

    Try with the following code.<BR>if isnull(ResGetNews("Margintext")) or ResGetNews("Margintext") ="" or Isempty(ResGetNews("Margintext"))Then <BR> response.write("hello") <BR> end if

Posting Permissions

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