Results 1 to 2 of 2

Thread: Please Help: Run-time error

Threaded View

  1. #1

    Thread Starter
    Lively Member claire99's Avatar
    Join Date
    Nov 2002
    Location
    OH
    Posts
    66

    Unhappy Please Help: Run-time error

    I was trying to export crystal report by Email using VB program. Below is my code:

    -----------------------------------------------------------------------
    Private Sub Form_Load()
    With Report
    .ExportOptions.DestinationType = crEDTEMailMAPI
    .ExportOptions.MailToList = "[email protected]"
    .ExportOptions.MailSubject = "XXX"
    .ExportOptions.MailMessage = "Test"
    .ExportOptions.FormatType = crEFTExactRichText
    .Export (False)
    End With
    End Sub
    ------------------------------------------------------------------------

    I got an error message when I run it.
    Run-time error '-2147192184(80047288)':
    Server has not yet been opened.

    Does anyone could explain it for me?
    Thanks!
    Last edited by claire99; Dec 2nd, 2002 at 04:52 PM.
    "And we know that all things work together for good to them that love God,
    to them who are the called according to his purpose. " --- Romans 8:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width