Hands-on exercise: Clone a Crystal report

In this exercise, you will clone the Member Index report and modify it so the report prints the Member Index information for the displayed customer’s record.

  1. Copy the MemberIndex.rpt file from the iMIS stdrpts directory to the \…\custrpts directory.
  2. Open the \…\custrpts\MemberIndex.rpt in Crystal.
  3. Rename the report as MemberIndexforCurrentID.
  4. Select the Field Explorer icon.
  5. Select the Parameter tab.
  6. Click New to open the Create Parameter Field window.
  7. Enter CurrentID in the Name field, and click OK.
  8. Close the Field Explorer window.
  9. Select the Select Expert icon.
  10. Select Name.ID, and click OK.
  11. Select the drop-down list, and select is equal to.
  12. Select the second drop-down list, select the {?CurrentID} parameter, and click OK.
  13. Open iMIS.
  14. Select Utilities > Report Specs to open the Report Specifications window.
  15. Scroll down, and select the Membership-Rosters-Member Index (Crystal) report.
  16. Click Clone.
  17. Enter Member Index for Current ID (Crystal) as the report Title.
  18. Click Parameters to open the Detail Report Parameters window.
  19. Tab to the Rpt File / Format field, and press Ctrl+L.
  20. Navigate to the \imis\custrpts directory, select the MemberIndexforCurrentID.rpt file, and click OK.
  21. Click Crystal Params to open the Crystal Parameters window.
  22. Click Insert.
  23. Enter CurrentID in the Parameter Name field, and press Tab.
  24. Enter lvSession.CurrentId in the Variable Name (or String) field, and press Tab. Click OK.
  25. Click Save on the Detail Report Parameters window to save the report changes.
  26. Close the Detail Report Parameters window and the Report Specifications window.
  27. Select Customers > Manage customers to open the Manage customers window.
  28. Click Find to open the Search window.
  29. Select ID from the drop-down list, enter 101 as the customer Id, and click Go.
  30. Select Customers > Generate reports to open the Generate reports window.
  31. Click Set Report Destination, and choose to print the report to Screen.
  32. Select the Rosters report type, and then select the Member Index for Current ID (Crystal) report.
  33. Click Run to open the Member/Contact Selections window.
  34. Click OK. The report displays the information for customer 101.
  35. Run the original report, Member Index (Crystal), to compare the original report to the modified report. Notice the original report shows the address for each customer selected while the report we modified only shows the address for the customer’s record we have displayed.