Progression version 7.8.100 Crystal Report Functionality Changes
Despite the continued efforts of Exact to ensure that the information in this document is as complete and up-to-date as possible, Exact cannot warrant the correctness and/or completeness and/or specific applicability of the published and/or requested information in this document. Exact shall not be liable for any direct, indirect, incidental, special or consequential damages, lost profits or for business interruption arising out of the use of this document. The extraction and use of information from this document remains at all times completely within the user's own risk. No part of this document may be reproduced, published and/or transmitted in any form or in any way, electronically, in print, in photocopy, on microfilm or by any other means, without the prior written consent of the Exact Software North America LLC. Exact Software North America LLC, 2013. All rights reserved. All trademarks mentioned herein belong to their respective owners. 2
Crystal Report Functionality Changes The functionality to create and use INI files for report range and criteria passing does not work for all situations when dealing with the user access control (UAC) in Windows Vista and newer operating systems. To remedy the issues surrounding this, beginning with Progression version 7.8.100, this functionality uses the Windows registry to store and retrieve the information that previously was contained in INI files. As such, some changes need to be made to ensure your Crystal Reports continue to run without any issues. The user defined function DLL (cruflma.dll) and all standard ERS project files were modified to handle these changes. The excrystalcriteria.dll was created to handle reading and writing the pertinent information that was in the INI files. There are two functions in this new DLL that replace the kernel32 functions - WritePrivateProfileString and GetPrivateProfileString - that were previously used to read and write to the INI files. These are replaced by the excrystalcriteria.dll functions - SetDefaultValue and GetDefaultValue. These functions take similar arguments to the functions they replace. The GetWindowsDirectory function is no longer needed since the INI files are no longer used. (The GetWindowsDirectory function was used to find and use the windows directory for writing to and reading from the INI files). This screenshot shows the registry keys/values for the Crystal Reports: 3
The following steps show the changes made to the ERS project files for the standard Progression Crystal Reports. You must make these changes to customized ERS project files for customized Crystal reports. 1. A reference was added for the excrystalcriteria.dll: 2. The GetPrivateProfileString, WritePrivateProfileString, and GetWindowsDirectory function declarations were removed from the Utility module: 3. A variable was created in the Utility module for the excrystalcriteria.dll to access the functions: 4. The FileExists function in the Utility module was modified to use the new excrystalcriteria.dll CheckDefaultExists function: 4
Before: After: 5. The GetReportDefault function in the Utility module was modified to use the new GetDefaultValue function: Before: After: 6. The SaveReportDefault function in the Utility module was modified to use the new SetDefaultValue function: 5
Before: After: 7. Finally, the variable created to use the excrystalcriteria functionality was set to nothing in the gf_bcleanupobjects function of the Utility module to ensure the memory is released for the DLL: 6
Progression Workflow Explorer Crystal Report Viewer Export In Progression version 7.8.100, the export functionality on the Progression Workflow Explorer Crystal Report Viewer has changed. In version 7.7.900 and earlier, the export functionality on the Progression Workflow Explorer Crystal Report Viewer opens the following dialog: In version 7.8.100, the export functionality opens the following dialog, which is the same dialog opened by clicking the Output tab, and selecting Export, and clicking OK: 7
There are a variety of export options shown on the tabs. The options in the Destination field have changed to Disk File, Microsoft Mail, and Exchange Folder. If you choose Microsoft Mail, when you start typing the recipient in the To field, possible matches from your Outlook contacts will be shown for you to choose from. 8