Microsoft
Software
Hardware
Network
Question : How do I select prior month data from last year in a query?
Hello Experts,
I have the user type in the "month" and "year" they want to find data for in a form. Lets say they type in (just as an example) October in the first text box and 2009 in the second text box. My queries will return all records that have "October" and "2009" associated with them.
the above works just fine. What I need, at the same time, is another query that will return "current_apps" from last month of last year. So in essence I want September 2008.
How do I make this query?
The reason I need this is because I need to divide my current_apps for this month of this year by the current_apps for last month of last year, display it as a percentage to find my variance to see what my % prior year variance is so I can display it in my report.
If you need any more information please let me know.
Thanks,
Googlebut
Answer : How do I select prior month data from last year in a query?
if you have straight year numbers ie 2009, 2008 in that firld you can add this as criteria
Year(Date())-"1"
Random Solutions
Moving mailboxes from SBS 2003 to Exchange 2007
VB.NET 3.5: how to copy an embedded resource to a file
16 bit ms dos sub system
MS Access 2007: Shortcut to make the required field 'yes"
VBA Outlook.TaskItem Export Error
Force close an .mdb file that is in use then compact and repair it using vba code
Using MS Access to open web server MySQL database - is it possible?
Need to Capture LPT1, FROM MULTIPLE PRINT JOBS, and save them all in one file
Removing Logon screen in Windows XPe
Silverlight app (IIS6) is unable to serve my .svc file