Use PEDiscardSavedData to discard the data that was previously saved with the report. If a report has been saved with data, you can use this function to discard the saved data, forcing the Crystal Report Engine to retrieve new data the next time the report is printed.
BOOL CRPE_API PEDiscardSavedData (
short printJob );
Specifies the print job for which you want to discard the saved data. |
This function should be called before PEStartPrintJob, or the results may be inconsistent or unexpected.
Declare Function PEDiscardSavedData Lib "crpe32.dll" (
ByVal printJob As Integer ) As Integer
function PEDiscardSavedData (
printJob: Word
): Bool stdcall;
EXTERN CLOGICAL PEDiscardSavedData (CWORD) CRPE.DLL
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |