Hi All,
I have a report with a subreport that are not linked. The subreport is specifically for summary purposes of another value gathered from the master table. The subreport states a supervisor's name and lets me know a number (the # is a count field that updates as user's put in data). When this main report opens I would like to program VBA to check if there is a value equal to 5 in this report and let me know which supervisor it is that is reporting at 5. I'm familiar with the general VBA for If then and msgbox, but I'm not sure how to reference a field in a subreport, nor do I know how to have a message box report something instead of just include what I write in the parentheses...Any thoughts?
Supervisor A - 3
Supervisor B - 4
Supervisor C - 5
On report open, Msgbox says, Supervisor C has 5 evaluations completed, and a vbokonly
I would appreciate any help on this!
Thanks,
Kim
I have a report with a subreport that are not linked. The subreport is specifically for summary purposes of another value gathered from the master table. The subreport states a supervisor's name and lets me know a number (the # is a count field that updates as user's put in data). When this main report opens I would like to program VBA to check if there is a value equal to 5 in this report and let me know which supervisor it is that is reporting at 5. I'm familiar with the general VBA for If then and msgbox, but I'm not sure how to reference a field in a subreport, nor do I know how to have a message box report something instead of just include what I write in the parentheses...Any thoughts?
Supervisor A - 3
Supervisor B - 4
Supervisor C - 5
On report open, Msgbox says, Supervisor C has 5 evaluations completed, and a vbokonly
I would appreciate any help on this!
Thanks,
Kim