|
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:
- Open PastPerfect and click on the “Reports” tab, then click “Report
Maker.”
- 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.)
- Click “Add” and type the new report name as “Images”, then click
“OK.”
- Step 1: scroll down and double-click on “Imagefile”. Step 2: select
“Is not empty”
- Click ”Done” and click “Yes” when asked if you want to run the report
now.
- For this example, double-click on “Object ID”, “Objname”, and “Imagefile”,
then “Done”
- Click “Pick Output Type” and make sure you have selected “Report
in Form layout” (not necessary, but simplifies this example) then click
“Done”.
- Click “Run Report”, then click “Preview” and you should see your
data.
- Close the preview window and click “Edit form”
- 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
- 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.)
- In the “Report Picture” dialog box that appears, put this line in
the file line, printimage(alltrim(imagedir)+alltrim(imagefile))
- Click “scale picture, retain shape” (this avoids distortion), then
click “OK”.
- 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.
- 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.
|