Check for Null In Conditional Formating

Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default Re: Check for Null In Conditional Formating

    Try the expression:
    IsNull([NameOfYourFieldHere])

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
    Reply to the newsgroup. (Email address has spurious "_SpamTrap")

    "Chaster" <csanto@chadeen.com> wrote in message
    news:%hYVa.46806$zy.43968@fed1read06...
    > I have had no luck with trying to figure out the syntax to determine if a
    > value is null
    >
    > I have tried fieldvaule = "IsNull" but it only fires the condition if the
    > text in the field = IsNull
    > I have tried expression value ="IsNull"
    >
    > If you can help me out with this I need to check several types of field
    > values such as Dates, Times and Text.

    Allen Browne Guest

  2. Similar Questions and Discussions

    1. Check for null query
      I have some code something like this in a query of a query: SELECT query1.field1, query1.field2, query1.field3 FROM query1 WHERE field1 not in...
    2. how to to check array Null value on coldfusion 7
      Hi, How do you check the array elements empty or not. for example, I have array - array , and from array to array has some value, and there...
    3. Conditional formating
      Hi, I'm working with a datagrid whithout any problem. But now I like to use some condinional formating to one of the columns. If the value in...
    4. Question: How check if datareader is null?
      "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message news:eGmnp2MYDHA.1784@TK2MSFTNGP09.phx.gbl... If Not (drReader Is Nothing) Then ......
    5. conditional formating on Datagrid control
      i have a databound datagrid control. one of the bound columns displays a date. i need to display it in red if it is 2 or less days from the current...
  3. #2

    Default Re: Check for Null In Conditional Formating

    "Chaster" <csanto@chadeen.com> wrote:
    >I have had no luck with trying to figure out the syntax to determine if a
    >value is null
    >
    >I have tried fieldvaule = "IsNull" but it only fires the condition if the
    >text in the field = IsNull
    >I have tried expression value ="IsNull"
    >
    >If you can help me out with this I need to check several types of field
    >values such as Dates, Times and Text.
    Chaster,

    if you want to use IsNull in code, then you must write:

    If IsNull(ControlName) Then...

    The data type is not relevant.

    See also Help on IsNull function - which you should have done in the
    first place, there are even examples.

    Best regards
    Emilia

    Emilia Maxim
    PC-SoftwareService, Stuttgart
    [url]http://www.maxim-software-service.de[/url]
    Emilia Maxim Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139