I have a report named rptObjectives and within this report I have 12 unbound controls named as follows:
txtImprovementsJan
txtImprovementsFeb
txtImprovementsMar
txtImprovementsApr
txtImprovementsMay
txtImprovementsJun
txtImprovementsJul
txtImprovementsAug
txtImprovementsSep
txtImprovementsOct
txtImprovementsNov
txtImprovementsDec
I want to populate these with the number of records by month for the current year from the qryContinualImprovementsLog.
The qryContinualImprovementsLog has the following fields:
lngImprovementLogID [Primary Key]
strAreDept
strOpportunitiesForImprovement
strReasonForImprovementDetailsofAchievement
dtmImplementedDate
strAdditionalNotesComments
So based on the dtmImplementedDate field I want to count how many records there are by month for the current year and assign that value to the appropriate unbound control in my report.
I'm thinking that needs to be in the onload event of my report.
Any assistance would be most appreciated.
txtImprovementsJan
txtImprovementsFeb
txtImprovementsMar
txtImprovementsApr
txtImprovementsMay
txtImprovementsJun
txtImprovementsJul
txtImprovementsAug
txtImprovementsSep
txtImprovementsOct
txtImprovementsNov
txtImprovementsDec
I want to populate these with the number of records by month for the current year from the qryContinualImprovementsLog.
The qryContinualImprovementsLog has the following fields:
lngImprovementLogID [Primary Key]
strAreDept
strOpportunitiesForImprovement
strReasonForImprovementDetailsofAchievement
dtmImplementedDate
strAdditionalNotesComments
So based on the dtmImplementedDate field I want to count how many records there are by month for the current year and assign that value to the appropriate unbound control in my report.
I'm thinking that needs to be in the onload event of my report.
Any assistance would be most appreciated.