Advertisement

07.07.2008 at 08:39AM PDT, ID: 23543724
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.0

send access report vis email (special crysteria)

Asked by henryk123 in Access Forms, Access Reports, Access Coding/Macros

Hello,
I'd like send access report via email.
Now I'm printing my report. I use command button on access form. My code for printing:

Private Sub Command119_Click()
On Error GoTo Err_Command119_Click

    Dim stDocName As String
    DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
    If Me.Combo97 = "Collect" Then
        If IsNull(Me.Collect_Acct__) Then
            MsgBox "If specifying collect, you must enter an account number"
            Exit Sub
        End If
    End If
    If IsNull(Me.Division) Then
        MsgBox "You must enter a division"
        Exit Sub
    End If
    If IsNull(Me.CompanyName) Then
        MsgBox "You must enter a company name"
        Exit Sub
    End If
    If IsNull(Me.Date) Then
        MsgBox "You must enter a date"
        Exit Sub
    End If
    If IsNull(Me.ContactFirstName) Then
        MsgBox "You must enter a contact first name"
        Exit Sub
    End If
    If IsNull(Me.ContactLastName) Then
        MsgBox "You must enter a contact last name"
        Exit Sub
    End If
    If IsNull(Me.BillingAddress) Then
        MsgBox "You must enter a billing address"
        Exit Sub
    End If
    If IsNull(Me.City) Then
        MsgBox "You must enter a city"
        Exit Sub
    End If
    If IsNull(Me.StateOrProvince) Then
        MsgBox "You must enter a state"
        Exit Sub
    End If
    If IsNull(Me.PostalCode) Then
        MsgBox "You must enter a Zip"
        Exit Sub
    End If

    If Me.Division = "FASTEX" Then
    stDocName = "Letter-Fastex"
    Else
    stDocName = "Letter-test1"
    End If
    'DoCmd.OpenReport stDocName, acPreview, , "customerid= " + Str$(Me.CustomerID)
    DoCmd.OpenReport stDocName, acNormal, , "customerid= " + Str$(Me.CustomerID)
   
Exit_Command119_Click:
    Exit Sub

Err_Command119_Click:
    MsgBox Err.Description
    Resume Exit_Command119_Click
   
End Sub

Source for report (query):

SELECT Customers.*, [Sales People].*, Distributors.*, Distributors_1.*
FROM ((Customers LEFT JOIN [Sales People] ON Customers.SalesID = [Sales People].SalesID) LEFT JOIN Distributors ON Customers.DistributorID = Distributors.DistributorID) LEFT JOIN Distributors AS Distributors_1 ON Customers.DistributorID2 = Distributors_1.DistributorID;

What I need ?
1.send report over email base on criteria from 1'st code.
How can I prepare code?
I used DoCmd.SendObject  for this but send me all records. I don't want this way. I want send only one record (this record what I have open right now in my form)

2. I have table distributors and 2 fields inside (Email and Email1)
I'd like use somehow these fields.
I mean when send report use field Email as TO and Email1 as CC.

thx
henry


   
Start Free Trial
 
 
[+][-]07.07.2008 at 01:49PM PDT, ID: 21948538

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 01:51PM PDT, ID: 21948557

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 03:43PM PDT, ID: 21949251

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:02AM PDT, ID: 21954475

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:11AM PDT, ID: 21955240

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:20AM PDT, ID: 21955351

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:21AM PDT, ID: 21955369

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:35AM PDT, ID: 21955501

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:41AM PDT, ID: 21955593

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:52AM PDT, ID: 21955715

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:57AM PDT, ID: 21955788

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:58AM PDT, ID: 21955798

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 10:00AM PDT, ID: 21955822

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 10:03AM PDT, ID: 21955847

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 10:09AM PDT, ID: 21955884

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 10:20AM PDT, ID: 21955971

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 10:39AM PDT, ID: 21956134

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 10:41AM PDT, ID: 21956161

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 12:01PM PDT, ID: 21956932

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 12:16PM PDT, ID: 21957102

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 12:20PM PDT, ID: 21957151

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 12:40PM PDT, ID: 21957392

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 12:56PM PDT, ID: 21957593

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 01:13PM PDT, ID: 21957763

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 01:23PM PDT, ID: 21957852

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 01:23PM PDT, ID: 21957854

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 01:42PM PDT, ID: 21958038

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Forms, Access Reports, Access Coding/Macros
Sign Up Now!
Solution Provided By: omgang
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.08.2008 at 11:05PM PDT, ID: 21960931

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628