473,325 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Creating a Macro that will send a report via e-mail using different queries each time.

I currently have the tables set up and a separate query for each
individual sales rep. I then created 10 reports and a macro that sends
out the ten reports via e-mail to the correct reps.

I need to clean this up and have only one report that uses each
different query. Should I be using the Where clause? IF so how? I
have tried a dozen different ways.

The problem (and I knew this when I created the reports) is that one
change then has to be made to each of the ten reports. There must be
an easy way to have the report use a different Query each time.

Nov 13 '05 #1
0 1170

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Geir Baardsen | last post by:
Hi! On a form I have a listbox that is retrieving data in the form's On_Load event. Now I have two textboxes that will change the listbox's content. How can I send data in the new, updated and...
0
by: hinew | last post by:
Hi. I have created macro for Microsoft word. However I need this to be run in visual baisc application. I need a program that ask user to select the word document which need to be processed....
8
by: nandakumar.raghu | last post by:
Hi, I am creating a #defined class like - #define BEGIN_TEST_MAP(testmapname) class testmapname\ {\ testmapname(){}\ testmapname(std::ofstream resultfile)\ {\ resultfile << "<Test name=\""...
3
by: T | last post by:
I'm trying to determine the useage of varioius reports I have. I need the following to occur when a report is opened, get the name of the report, datetime, username. I created a tblLog...
1
by: ReubenPatterson | last post by:
Very newbie question...I have an xTab query that sums records by a simple: TRANSFORM Count(TBLMaster.FldChannelNumb) AS CountOfFldChannelName SELECT TBLMaster.FldChannelNumb,...
1
by: kaosx5 | last post by:
I have a report sceniro where I have the user select a Report(acutally it is a macro but didn't want to confuse the user) off of Form1. When the user double clicks the Macro name it opens Form 2...
1
by: goldxr | last post by:
Hi, Has anyone come across a print report macro that updates any changes you make on a main form? The issue I have is I have a pivot chart called It is a sub form in the main form I...
2
by: JM420A | last post by:
I have 3 reports that I need to print sequentially, situation is this R- Report P-Person R1 has 3 pages, one for each P R2 " " R3 " ...
3
by: Jason | last post by:
I want to create a simple FTP program or service that would: 1.) FTP files in a specific directory to a remote ftp host. 2.) Send off a report telling me if all files transferred or if they...
6
by: Kappucino XL | last post by:
Hi there... I'm busy with a project where I view my information in forms. I get to choose the info I want using comboboxes. All info viewed, is in my tables, and also stored in a query. I have now,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.