I've found something similar to this on the forums, but not exactly, and I can't figure it out.
I have a query:
The ProgD is always the first of a month, there is only one ProgD per month.
So the above shows the currently month. I would like it to display last month, current month and next month. So if the parameters are 2/1/2005 and 2/28/2005 it would display:
ProgD NLProg STProg WBProg
1/1/2005 Name1 Name2 Name3
2/1/2005 Name1a Name2a Name3a
3/1/2005 Name1b Name2b Name3b
Any chance at highlighting the current month in a report as well? I'm beyond my brain!
Thanks for any help!!!
I have a query:
Code:
SELECT Format(tblProgramPlan.ProgD,'mmmm yyyy') AS ProgramDate, tblProgramPlan.NLProg, tblProgramPlan.STProg, tblProgramPlan.WBProg
FROM tblProgramPlan
WHERE (((tblProgramPlan.ProgD) Between [Forms]![fdlgOps]![txtStart] And [Forms]![fdlgOps]![txtEnd]));
The ProgD is always the first of a month, there is only one ProgD per month.
So the above shows the currently month. I would like it to display last month, current month and next month. So if the parameters are 2/1/2005 and 2/28/2005 it would display:
ProgD NLProg STProg WBProg
1/1/2005 Name1 Name2 Name3
2/1/2005 Name1a Name2a Name3a
3/1/2005 Name1b Name2b Name3b
Any chance at highlighting the current month in a report as well? I'm beyond my brain!
Thanks for any help!!!