Once again I call on the vast experience of all of you on techtips.
Here is my issue. I have a query that pulls in a number of fields some of them being date fields that are formated down to a 2 digit number representing the month.
exp. Format(needlx.date,"mm") AS Needlx_date, needlx.n_in, needlx.n_out, Format(ai_clien.entered,"mm") AS Intake_Date
This query also pulls in a begin date and end date from a form. I then have 3 text boxes that use this to get its value.
TxtMonth1
Exp. =MonthName((Month([Forms]![QueryDateSelection].[enddate]))-2,True)
This will returm the value of end date minus 2 months in the form of an abreviated month name.
So here is my question now. I need to be able to count a specific field ND_IN where monthname(Needlx_date, true) = TxtMonth1.text. I would think if there was a way to convert my Needlx_date to an abreviated month name in the query it might make it a little easier and be able to just say needlx_date = TxtMonth1.text.
If anybody needs any further information please let me know.
Thanks in advance.
Here is my issue. I have a query that pulls in a number of fields some of them being date fields that are formated down to a 2 digit number representing the month.
exp. Format(needlx.date,"mm") AS Needlx_date, needlx.n_in, needlx.n_out, Format(ai_clien.entered,"mm") AS Intake_Date
This query also pulls in a begin date and end date from a form. I then have 3 text boxes that use this to get its value.
TxtMonth1
Exp. =MonthName((Month([Forms]![QueryDateSelection].[enddate]))-2,True)
This will returm the value of end date minus 2 months in the form of an abreviated month name.
So here is my question now. I need to be able to count a specific field ND_IN where monthname(Needlx_date, true) = TxtMonth1.text. I would think if there was a way to convert my Needlx_date to an abreviated month name in the query it might make it a little easier and be able to just say needlx_date = TxtMonth1.text.
If anybody needs any further information please let me know.
Thanks in advance.