Anda di halaman 1dari 4

Adding fields to the actual RPT file

1. Open the desired RPT file you want to customize in Crystal Reports.

Hint: If you're not sure what file to modify, open AutoPLANT Piping and go to the menu: Piping > Reports >
Bill of Materials.... As shown in the screen capture below, which ever report you select from the pulldown
menu will display the path to and name of the RPT file it is using.

2. Install Crystal reports 9


3. Once in Crystal Reports, go to the menu: Database > Verify Database...
4. If the path to the REPORT.MDB is incorrect, update it to C:\Program Files\Bentley\Plant
V8i\Reports\REPORT.MDB.
5. Next, you must modify the Report header. Add the field(s) you are going to want. Here is an example of how
it should look with MAT_GRADE added:
6. Then go down to the section Group Header #6 and stretch it down.
7. Go to Insert > Text Object...
8. Place the text object below the last field but above the [-5]. In this case, I'll make it [Mat_Grade=].

9. Then go to the menu: View > Field Explorer.


10. In the "Field Explorer" selection tree, pull in the new database field and drop it to the right of the text object
inserted in step 6.
11. Save and close.
12. Start AutoPLANT Piping.
13. Go to the menu: Piping > Reports > Bill of Materials...
14. In this dialog, select the "Options" button.
15. Then go to the Columns tab and select "Organize". MAT_GRADE is now an available field. Add it to the right
side.

16. Provided that the MAT_GRADE field is populated with data for each component (and you can use Edit
Component to check), the values will now show in your Bill of Materials.

Source:
http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineeri
ng__wiki/how-do-i-use-crystal-reports-to-add-fields-to-my-report-tn.aspx

Anda mungkin juga menyukai