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.
Printable View
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.
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