• Query by time of change (12 hrs ago…) (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Query by time of change (12 hrs ago…) (2000)

    Author
    Topic
    #419849

    I have a table that tracks all changes to locations of employees. I need to create a query that shows all changes in the previous 12 hours. How do I specify that?

    Viewing 0 reply threads
    Author
    Replies
    • #949118

      I assume that you have a date/time field in the table.
      Create a query based on the table, and set the criteria for the data/time field to

      >Now()-0.5

      Dates and times are stored in units of 1 day, so 12 hours = 0.5 (a half day).

    Viewing 0 reply threads
    Reply To: Query by time of change (12 hrs ago…) (2000)

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

    Your information: