Results 1 to 2 of 2

Thread: Disable Export Button on Data Report

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    California
    Posts
    2

    Talking

    Does anyone know a simple way to disable the export button on the data report? I'd like to allow users to print out the data but not to export it to a file.

  2. #2
    New Member
    Join Date
    Jul 2000
    Location
    Italy
    Posts
    1

    Wink Disable export button

    It's is easy even if trickky
    In DataReport_Initialize put this line
    Me.ExportFormats.Clear

    and then in DataReport_Error put
    If JobType = rptAsyncExport Then
    If ErrObj.ErrorNumber = rptErrExportFormatsEmpty Then
    ShowError = False

    End If
    End If

    This will make no effect on pressing export button

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