Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

E-mail text

Discussion in 'Information Technology' started by Daniel Lees, Jul 28, 2006.

Tags:
  1. Daniel Lees

    Daniel Lees
    Expand Collapse
    Guest

    Hi

    I am trying to use send object to send an e-mail, the problem i have is
    that i want in the message the Quote Number that is on the form where the
    message is pressed. I tried putting the message as :

    "New Quote approved to commence QN: " & [Forms]![Frm_Bid Details]![Quote
    Number]


    This didn't work, that is what came up in the e-mail i wanted the actual
    number not the test sayin where it was. Can this be done?

    Cheers

    Danny
     
  2. Loading...

    Similar Threads Forum Date
    India India sets up elaborate system to tap phone calls, e-mail Breaking News Jun 20, 2013
    Sikh News Security beefed up in Punjab town after e-mail threat (New Kerala) Breaking News Sep 16, 2008
    Buddhism This is India, the Dalai Lama has E-mail (Phayul) Interfaith Dialogues Jun 27, 2005
    Sikh News YOUR E-MAIL ALERTS (CNN.com) Breaking News Jun 24, 2005
    AOL to Offer Free E-Mail in Bid to Build Audience (washingtonpost.com) Interfaith Dialogues May 13, 2005

  3. Rick B

    Rick B
    Expand Collapse
    Guest

    Can you paste the EXACT code in here that you used?


    --
    Rick B



    "Daniel Lees" <DanielLees@discussions.microsoft.com> wrote in message
    news:5EF21D27-1C24-4C1B-8364-DAF2BBB72039@microsoft.com...
    > Hi
    >
    > I am trying to use send object to send an e-mail, the problem i have is
    > that i want in the message the Quote Number that is on the form where the
    > message is pressed. I tried putting the message as :
    >
    > "New Quote approved to commence QN: " & [Forms]![Frm_Bid Details]![Quote
    > Number]
    >
    >
    > This didn't work, that is what came up in the e-mail i wanted the actual
    > number not the test sayin where it was. Can this be done?
    >
    > Cheers
    >
    > Danny
     
  4. Daniel Lees

    Daniel Lees
    Expand Collapse
    Guest

    I used a macro not VBA, I have written it in VBA now and its working.

    DoCmd.SendObject acReport, "Rpt_Rfq Ack Email", "SnapshotFormat(*.snp)",
    "daniel.lees@ins-innovation.com", "", "", "New Bid", "New Quote approved to
    commence. Please see attachment. This is an automated notification, please
    do not respond. QN: " & Forms![Frm_Bid Details]![Quote Number] & "",
    False, ""


    That works

    Thanks anyway



    "Rick B" wrote:

    > Can you paste the EXACT code in here that you used?
    >
    >
    > --
    > Rick B
    >
    >
    >
    > "Daniel Lees" <DanielLees@discussions.microsoft.com> wrote in message
    > news:5EF21D27-1C24-4C1B-8364-DAF2BBB72039@microsoft.com...
    > > Hi
    > >
    > > I am trying to use send object to send an e-mail, the problem i have is
    > > that i want in the message the Quote Number that is on the form where the
    > > message is pressed. I tried putting the message as :
    > >
    > > "New Quote approved to commence QN: " & [Forms]![Frm_Bid Details]![Quote
    > > Number]
    > >
    > >
    > > This didn't work, that is what came up in the e-mail i wanted the actual
    > > number not the test sayin where it was. Can this be done?
    > >
    > > Cheers
    > >
    > > Danny

    >
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page