473,386 Members | 1,720 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,386 software developers and data experts.

can Multiple forms to be email using the ifelse statement in the code

Is there a way to email multiple forms by a primary key or using a ifelse statement in the Coding area?

Currently, I only have this form open "frmStandard"

Expand|Select|Wrap|Line Numbers
  1. Private Sub Email_Click()
  2.  
  3. DoCmd.SendObject acSendForm, "frmStandard", acFormatPDF, Me.Processor_Email, , , "Automated Message: Loan #" & Me.[Loan_Number] & " Review #" & Me.[Review_Number] & " has been reviewed", "The STANDARD Review has been completed and attached below.", True
  4. Me.FilterOn = True
  5. End Sub
  6.  
I want to add another form or Multiple forms to be email to the one email only if it has the same Loan Number and Review #
Each form is based currently on different tables.

Is there a way to do this?
Oct 28 '13 #1
1 1052
zmbd
5,501 Expert Mod 4TB
Is there a way to do this?
Short answer, Yes.

(^-^)

Ok,you might find the article on automation interesting:
Application Automation
This covers some basics using Outlook and VBA to automate things... and this will be one of the only ways you can add multiple attachments.

There are also few different ways of sending out email, some of which have been just recently discussed... Search Return

As for the specfics of implementation, that is like chasing cats... take this one for example: http://bytes.com/topic/access/answer...acts-email-vba dealing with queries; however, the concepts should still work.

If you're still stuck let us know.
Oct 29 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Angelos | last post by:
Ok... I have to make this administation area where I have multiple Contents to add edit delete publish . The problem is that I don't know what is the best way of making the forms. At the moment I...
4
by: Angelos | last post by:
Ok... I have to make this administation area where I have multiple Contents to add edit delete publish . The problem is that I don't know what is the best way of making the forms. At the moment I...
4
by: Evil Bert | last post by:
Is there anyway to compare a field with multiple string values using LIKE? Here's the statement I have now: SELECT * FROM list WHERE email LIKE CONVERT( _utf8 'hotmail@hotmail.com' USING latin1...
1
by: john sutor | last post by:
I have a main form in a project that launches other forms. How do I ensure that the same form does not get launched twice without killing the orignal form. I other words I need a method to manage...
8
by: TJS | last post by:
what are folks doing to get around limitation of one server form per page ?
3
by: Srinivas | last post by:
Hi, I am using ASP.NET SmtpMail to send email using the following code public void SendEmail(string From, string To, string Subject, StringBuilder Message, string Attachment, string...
5
by: c676228 | last post by:
Hi everyone, my colleagues are thinking about have three insurance plans on one asp page: I simplify the plan as follow: text box:number of people plan1 plan2 plan3
3
by: minaalashokvijaya | last post by:
can anybody out there please help me in my project i.e., to read the contents of the email using vb.net code ........!!! plz plz plz, i really need ya.......................
1
by: mrbadboy | last post by:
Hi, I need to submit multiple forms with using single button. I've mentioned my code below. <? if(isset($_POST)){ print_r($_POST); } ?> <script type="text/javascript">
1
by: mynkow | last post by:
I know it is tot possible. I just want someone to confirm that there is no way to send an email using only HTML code. If I am wrong will be greate. 10x
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.