paddgirl21
Registered User.
- Local time
- Today, 06:37
- Joined
- Dec 6, 2010
- Messages
- 11
Hello, All!
I'm hopeful that anyone could help me out with a slight problem of mine. I am trying to accomplish this:
From there, it can automatically save the reports to a specified folder I have designated it. That, part I figured out--when I only have 1 person I am trying to do a report on it is easy--not so easy when there are multiple people that it has to loop through. It becomes messy when it is trying to loop through the entire department's individuals.
Each individual has a set of metrics it displays on the report. I need these to stay together.
There being 3 tables that are being used: Employee, Metrics, Department
It must be something simple... I just can't figure out what it is. I have never worked with Loops in VBA before... so if that is the answer, I'll be learning something new!
Anyone have any suggestions for me to start with?
I'm hopeful that anyone could help me out with a slight problem of mine. I am trying to accomplish this:
- There are two controls on the form where a button is (form named ExportSelector) which the user indicates which department and what time frame they want.
- I have a button labeled MultipleExportbtn that when pressed it takes a query that I have built with two paramaters being used: Department and TimeFrame. (the controls that the user defined).
- Once the button is pressed, it opens up a report based on the query I made. The report will find those who are in a certain department with metrics within the time frame.
From there, it can automatically save the reports to a specified folder I have designated it. That, part I figured out--when I only have 1 person I am trying to do a report on it is easy--not so easy when there are multiple people that it has to loop through. It becomes messy when it is trying to loop through the entire department's individuals.
Each individual has a set of metrics it displays on the report. I need these to stay together.
There being 3 tables that are being used: Employee, Metrics, Department
It must be something simple... I just can't figure out what it is. I have never worked with Loops in VBA before... so if that is the answer, I'll be learning something new!
Anyone have any suggestions for me to start with?