P
PJFry
I work with a group of selling sites in my company. My team maintains a
database that tracks errors made by these sites. Every day we send a list of
outstanding errors to the site administrator. In our current process we run a
query that brings up, say, site 10. We then copy that data into an excel
sheet and send it to the administrator for site 10.
What I want to do is to create a recordset with all of the site information
and use a do…while function to loop through the record set, create the excel
files and e-mail them to the proper administrators. For the administrators I
have a table with the site number and names for each person. (There can be
multiple administrators at the sites). I have seen this kind of loop function
used but I don’t know where to start.
I am just guessing that the loop I suggested is the proper one. Any
suggestions are welcome.
PJ
database that tracks errors made by these sites. Every day we send a list of
outstanding errors to the site administrator. In our current process we run a
query that brings up, say, site 10. We then copy that data into an excel
sheet and send it to the administrator for site 10.
What I want to do is to create a recordset with all of the site information
and use a do…while function to loop through the record set, create the excel
files and e-mail them to the proper administrators. For the administrators I
have a table with the site number and names for each person. (There can be
multiple administrators at the sites). I have seen this kind of loop function
used but I don’t know where to start.
I am just guessing that the loop I suggested is the proper one. Any
suggestions are welcome.
PJ