number of records

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

  1. #1

    Default number of records

    hello sir,

    thank u for help in advance
    i want to know as to how i can get the number of records
    obtained in the result of a select query ,the select
    query,being applied on a table,that is i want to get
    the "NUMBER OF RECORDS" obtained from result of select
    query,that number i want to get.

    thank u
    shakeel

    ms shakeel Guest

  2. Similar Questions and Discussions

    1. retreve number of records updated
      is there a variable that can be accessed from a query that tells the number of records updated? Thanks KES
    2. How do I report the Total number of Records?
      I am returning a list of records from a database via the XML Connector component, and then into a Dataset (and on into a Datagrid). How do I report...
    3. Total number of records
      When I do a query, how do I get a total number of records found to appear at the bottom of the screen? Thanks
    4. limiting the number of records returned
      Hi all, The problem I am having is that I built an online query system. The problem is if the search critera is to open or loose, the coldfusion...
    5. Display x number of records
      How could I display *only* x# of records even if the select statement returns a value >x?
  3. #2

    Default number of records

    >-----Original Message-----
    >hello sir,
    >
    >thank u for help in advance
    >i want to know as to how i can get the number of records
    >obtained in the result of a select query ,the select
    >query,being applied on a table,that is i want to get
    >the "NUMBER OF RECORDS" obtained from result of select
    >query,that number i want to get.
    >
    >thank u
    >shakeel
    >
    >.
    >a couple of simple ways:
    create a new query, based on your existing query. pull a
    field into the QBE grid, and enclose the field name as
    Count(FieldName)
    go to datasheet view, and you should see one record with
    one field that gives you the number of records in the
    underlying query.
    OR
    use a domain aggregate function (in your form or report,
    for example), as
    DCount("[FieldName]","QueryName")
    tina Guest

Posting Permissions

  • You may not post new threads
  • You may not 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