Email Cmd
- From: "Katayon" <Katayon@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Aug 2005 09:45:01 -0700
I have a Command that generates an email message as follows:
Private Sub cmdSendOverdue_Click()
Dim strMessage As String 'Body of message
Dim strSubject As String 'Email Subject
Dim strTo As String 'To address
strTo = "TEST"
strSubject = "DSL Overdue Items"
strMessage = "The following items are overdue to the DSL." & vbCrLf & vbCrLf
strMessage = strMessage & "" & qryOverdueItems & vbCrLf & vbCrLf
DoCmd.SendObject acSendNoObject, , acFormatHTML, strTo, , , strSubject,
strMessage, True
End Sub
The issue is, I would like to list the query/table qryOverdueItems, as
attempted in the second 'strMessage' above.
Unfortunetly, this is not working. How can I get the above email message to
display the entire results of the query (basically be able to list an entire
table).
Is this possible?
Thanks in advance for your help.
.
- Follow-Ups:
- Re: Email Cmd
- From: John Nurick
- Re: Email Cmd
- Prev by Date: RE: prevent deletion of record
- Next by Date: RE: prevent deletion of record
- Previous by thread: prevent deletion of record
- Next by thread: Re: Email Cmd
- Index(es):
Relevant Pages
|