PastPerfect Technical Bulletin 06-2002
Adding Record Images to a Report Created In Report Maker:
Revised 6/29/2002
Scope: PastPerfect Version 3.0B8 and above and Windows 98, ME, 2000 Professional, XP home, or XP Professional. PastPerfect Digital Imaging Upgrade (installed)

Notes: Many customers use Report Maker to produce a number of reports that only have a selected amount of information on a selected number of items in the collection. To expand on this feature, PastPerfect has added the ability to put images from the Objects, Photos, Library and Archives catalogs into Report Maker Outputs. The only limitation with this procedure is that it only allows for one image from the record to be inserted into the report. Adding record images to reports created in Report Maker is accomplished in a few easy steps. Having Report Maker get the data and the layout optimized is discussed on pages 281-299 of the user guide.

Getting Started, Making a Report:

  1. Open PastPerfect and click on the “Reports” tab, then click “Report Maker.”
  2. For this example we will use a simple Objects report, so double-click on “Objects.” (Notes: For this example we will use “Imagefile” as our filter so that we only select objects with images.)
  3. Click “Add” and type the new report name as “Images”, then click “OK.”
  4. Step 1: scroll down and double-click on “Imagefile”. Step 2: select “Is not empty”
  5. Click ”Done” and click “Yes” when asked if you want to run the report now.
  6. For this example, double-click on “Object ID”, “Objname”, and “Imagefile”, then “Done”
  7. Click “Pick Output Type” and make sure you have selected “Report in Form layout” (not necessary, but simplifies this example) then click “Done”.
  8. Click “Run Report”, then click “Preview” and you should see your data.
  9. Close the preview window and click “Edit form”
  10. Maximize the window so you can see the entire sheet, then shorten the fields so you have some space on the right.

Inserting the OLE object

  1. On the reports control toolbar, click on the “OLE” button. Put your cursor on the screen where you want the picture to appear, then click and hold the left mouse button and drag a box. (Make sure you keep it between the page header and the detail and try not to overlap it with anything else.)
  2. In the “Report Picture” dialog box that appears, put this line in the file line, printimage(alltrim(imagedir)+alltrim(imagefile))
  3. Click “scale picture, retain shape” (this avoids distortion), then click “OK”.
  4. Click on File on the menu, then Save from the drop down list to save the form and when you preview, you should see your images.
  5. You can close the preview and go back into the “Edit Form” to arrange the fields and pictures or to make the picture larger/smaller on the printed page. When you have it the way you want it, be sure to save it and try printing.

If you have trouble adding images to your PastPerfect reports, please contact Technical Support.