|
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;
- Create a new PBL (
user_rep.pbl
) and add it to your library path before any PBLs that
contain reports.
- Compile your application as p-code and ensure that the
user_rep.pbl
and any other
libraries containing reports are created as PBD files.
- Provide your reports in one or more PBL files for your users.
- Give them a blank
user_rep.pbl
To alter a report use the following steps using Infomaker.
- Copy the report you want to alter into the user_rep.pbl
- alter the report.
- copy the
user_rep.pbl
to
user_rep.pbd
- 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.
|