• no zero (2k)

    Author
    Topic
    #412623

    i have a queri depond on a tabl contain the fealds ( name-value1-sdad1) and finelly net ( sum of valu1-sumsdad1)some times net = 0 i want all net = 0 not apear in the queri i try to put >0 but faild
    Ashraf

    Viewing 0 reply threads
    Author
    Replies
    • #903989

      Do you want to exclude records for which net = 0 from the query, or do you want to hide zero values from being displayed?

      • #904019

        i want to hide zero values from being displayed .
        Thanks
        Ashraf

        • #904025

          You can do that by setting the Format property of the net column. A custom Format can consist of 1 to 4 sections, separated by semicolons. The first section is for positive numbers, the second for negative numbers, the third for zero values and the fourth for Null values. To suppress zero values, you can use (for example)

          0;0;""

          if you have whole numbers, or

          0.00;0.00;""

          if you want to display numbers with 2 decimal places. You will probably also have to set this format for text boxes on a form or report bound to the net field.

          • #904027

            i think i can not explan good .
            i want only the records that contain value apeers in the qurey and the 0 value not apeard .
            Ashraf

            • #904033

              Add a condition in your criteria line under the Net expression. Here is the criteria: 0

            • #904055

              i do it but the criteria ask me to add sum of the value1 and sum of the sdad1 .

            • #904084

              Could you attach a stripped down copy of your database? It’s hard to understand what you are talking about.

            • #904094

              i want in the q_sum only feald name (4-5) and hide a 0 value .

            • #904098

              Use this expression for net:

              net: Sum([Value1])-Sum([sdad1])

              and set the criteria to 0.

            • #904136

              Thank u Hans
              Ashraf

            • #904137

              Thank u Hans
              Ashraf

            • #904099

              Use this expression for net:

              net: Sum([Value1])-Sum([sdad1])

              and set the criteria to 0.

            • #904095

              i want in the q_sum only feald name (4-5) and hide a 0 value .

            • #904085

              Could you attach a stripped down copy of your database? It’s hard to understand what you are talking about.

            • #904056

              i do it but the criteria ask me to add sum of the value1 and sum of the sdad1 .

            • #904034

              Add a condition in your criteria line under the Net expression. Here is the criteria: 0

          • #904028

            i think i can not explan good .
            i want only the records that contain value apeers in the qurey and the 0 value not apeard .
            Ashraf

        • #904026

          You can do that by setting the Format property of the net column. A custom Format can consist of 1 to 4 sections, separated by semicolons. The first section is for positive numbers, the second for negative numbers, the third for zero values and the fourth for Null values. To suppress zero values, you can use (for example)

          0;0;""

          if you have whole numbers, or

          0.00;0.00;""

          if you want to display numbers with 2 decimal places. You will probably also have to set this format for text boxes on a form or report bound to the net field.

      • #904020

        i want to hide zero values from being displayed .
        Thanks
        Ashraf

    Viewing 0 reply threads
    Reply To: no zero (2k)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: