Dcount Help Me

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amrhi
    New Member
    • Sep 2006
    • 22

    #1

    Dcount Help Me

    Hello guys
    i want to dcount my record with criteria time ....?
    example to count my records only with field that have time more than 15 minutes .
    ttl=Dcount("[time]";"tabletim e";"[time]>#0:15#")
    the result it count all records .
    for example i only have 5 records in time field more than 15 minutes....
    i want to get only that 5 records
    anyone can help me....
    thanks
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    ttl=Dcount("[time]";"tabletime";" Minute([time])>15")

    Comment

    • amrhi
      New Member
      • Sep 2006
      • 22

      #3
      Originally posted by mmccarthy
      ttl=Dcount("[time]";"tabletime";" Minute([time])>15")
      thanks for your help
      But the value still not match..
      Thank u very much

      Comment

      • MMcCarthy
        Recognized Expert MVP
        • Aug 2006
        • 14387

        #4
        This should work. What's the format of your time field exactly?



        Originally posted by amrhi
        thanks for your help
        But the value still not match..
        Thank u very much

        Comment

        Working...