Results 1 to 2 of 2

Thread: Missing parameter values Error

Threaded View

  1. #1

    Thread Starter
    New Member sandip's Avatar
    Join Date
    Jun 2005
    Location
    Navi Mumbai,India
    Posts
    15

    Question Missing parameter values Error

    HELLO ALL

    I am using cr10 in ASP.NET
    myReportDocument.Export() line generates error
    Missing parameter values
    I also used myReportDocument.Export(myExportOptions) but result was same..

    My Code is like this...
    Code:
        Dim myExportOptions As ExportOptions
        Dim myDiskFileDestinationOptions As DiskFileDestinationOptions
    
        Dim myExportFile As String
    
        Dim myReportDocument As New crRegisterReport()
        myExportFile = "c:\sandip.pdf"
        myDiskFileDestinationOptions = New DiskFileDestinationOptions()
        myDiskFileDestinationOptions.DiskFileName = myExportFile
        myExportOptions = myReportDocument.ExportOptions
    
        With myExportOptions
             .DestinationOptions = myDiskFileDestinationOptions
             .ExportDestinationType = ExportDestinationType.DiskFile
             .ExportFormatType = ExportFormatType.PortableDocFormat
    
        End With
        myReportDocument.Export()
        myReportDocument.Export(myExportOptions)
    THANKS IN ADVANCE





    Edit: Added [code][/code] tags for clairty. - Hack
    Last edited by Hack; Oct 21st, 2005 at 09:06 AM.
    Sandip

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