I have a query which sorts by date, project number, work code, and sums the hours. The work date looks like
DateWorked By Month: Format$([Time Card Details].DateWorked,'mmmm yyyy')
I want it to only show one month and year. Right now it shows all data.
How do I prompt the user and ask for the month and year and only give that year. I have tried variations [Enter Month] And [Enter Year], but get blank query results. I also have a section of the query that is
Year([Time Card Details].DateWorked)*12+DatePart('m',[Time Card Details].DateWorked)-1
and I don't understand what this is doing.
Any Help would be appreciated.
DateWorked By Month: Format$([Time Card Details].DateWorked,'mmmm yyyy')
I want it to only show one month and year. Right now it shows all data.
How do I prompt the user and ask for the month and year and only give that year. I have tried variations [Enter Month] And [Enter Year], but get blank query results. I also have a section of the query that is
Year([Time Card Details].DateWorked)*12+DatePart('m',[Time Card Details].DateWorked)-1
and I don't understand what this is doing.
Any Help would be appreciated.