Welcome to SPN

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

Sign Up Now!
  1. Guest ji, please consider donating today!
      Become a Supporter    ::   Make a Contribution   
    Monthly Recurring Target: $300 :: Achieved: $95

Mail Report Button on Form

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

  1. DV

    DV
    Expand Collapse
    Guest

    I've added a Mail Report button to a form that generates an attachment with
    an XLS extention even when I pick Rich Text Format from the prompt. In
    addtion the XLS file that is created contains gibberish.

    To add to the confusion, the button works for some users and not others.
    Any ideas? Our email system is Lotus Notes 6.5.2. The button's worked fine
    for the past 4 months, and we've just recently encountered the problem. Thank
    you in advance.
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News Armed Police Enter Sikh Temple In Birmingham During Protest - Daily Mail Breaking News Sep 12, 2016
    Sikh News Veteran Sikh Soldiers To Inspire Young - Malay Mail Online Breaking News Aug 1, 2016
    Sikh Gmail Calendar Questions and Answers Jul 5, 2016
    UK Daily Mail ISIS entrapment Breaking News Jul 7, 2014
    India India sets up elaborate system to tap phone calls, e-mail Breaking News Jun 20, 2013

  3. schasteen

    schasteen
    Expand Collapse
    Guest

    If you are exporting a file and forcing it to be saved as a .xls then you
    need to make sure the export format is excel.

    "DV" wrote:

    > I've added a Mail Report button to a form that generates an attachment with
    > an XLS extention even when I pick Rich Text Format from the prompt. In
    > addtion the XLS file that is created contains gibberish.
    >
    > To add to the confusion, the button works for some users and not others.
    > Any ideas? Our email system is Lotus Notes 6.5.2. The button's worked fine
    > for the past 4 months, and we've just recently encountered the problem. Thank
    > you in advance.
    >
     
  4. jetro=)

    jetro=)
    Expand Collapse
    Guest

    try this ihope this will help you

    Set {OBJECT:AppOutlook} = GetObject(, "Outlook.Application")
    If {OBJECT:AppOutlook} Is Nothing Then
    Set {OBJECT:AppOutlook} = CreateObject("Outlook.Application")
    End If

    Const olMailItem = 0
    Set {OBJECT:MailItem} = {OBJECT:AppOutlook}.CreateItem(olMailItem)
    With {OBJECT:MailItem}
    .To = {STRING:To}
    .Subject = {STRING:Subject}
    .Body = {STRING:Body}
    ' .Attachments.Add AttachmentArray(j)

    'Decide what to do with the mailitem
    ' .Send
    ' .Display
    ' .Save 'New messages always save in Drafts, regardless of what folder
    you use for the Items.Add method.
    End With

    "DV" wrote:

    > I've added a Mail Report button to a form that generates an attachment with
    > an XLS extention even when I pick Rich Text Format from the prompt. In
    > addtion the XLS file that is created contains gibberish.
    >
    > To add to the confusion, the button works for some users and not others.
    > Any ideas? Our email system is Lotus Notes 6.5.2. The button's worked fine
    > for the past 4 months, and we've just recently encountered the problem. Thank
    > you in advance.
    >
     
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