• Query only the last 6 months of data

    Author
    Topic
    #466360

    I have a date field in my query for which I only want to show the last 6 months of data from the current date. Is there some code I can use in my query to do this? Thanks..

    Viewing 0 reply threads
    Author
    Replies
    • #1207872

      You should be able to use the DateAdd() function to subtract 6 months from the current date, and put that in your criteria for the date field.

    Viewing 0 reply threads
    Reply To: Query only the last 6 months of data

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

    Your information: