Back

Tip 1. How to let Users Edit Reports within an Application.

One of our requirements for our e2i (estimating to invoice) application was to allow customers to alter all of the reports that we had defined. We achieved this by selling them a copy of Infomaker and using the following technique;

  1. Create a new PBL ( user_rep.pbl ) and add it to your library path before any PBLs that contain reports.
  2. Compile your application as p-code and ensure that the user_rep.pbl and any other libraries containing reports are created as PBD files.
  3. Provide your reports in one or more PBL files for your users.
  4. Give them a blank user_rep.pbl

To alter a report use the following steps using Infomaker.

  1. Copy the report you want to alter into the user_rep.pbl
  2. alter the report.
  3. copy the user_rep.pbl to user_rep.pbd
  4. Your application will now find the new reports instead of those compiled into the application.

Notes:

To go back to the original report simply delete it from the user_rep.pbl and copy again.
If you are already using the report you may get a sharing violation so it's best to quit the application before copying the library.
If you deploy updates don't overwrite the user_rep files.

Added before 01 Jan 2000

Back