A powerful custom report function is achieved by combining DW in Informaker and PBL.

xiaoxiao2021-03-06  78

People who have done large systems should have this experience, that is, the customer's requirements for the report, and the requirements of Chinese state report statistics are high, not general custom report software can be realized. General project report workload It often takes up more than 50% of the entire project time, and the high requirements of the report often lead to two results:

A result is a powerful custom report system that allows the user to define itself, ok! It's really good idea, but have questions, what is the difference between this and PB's database painting? And it takes a lot of energy, affirmed Can't do PB so good.

Another opposite result is to make reports, constant compilers, updates, should be made in the request of customers. Of course, with the project, you can recommend users to use certain report templates, but can only solve some problems.

I consider, why not use PB's powerful reporting function? PB does not have Informaker?

Everyone see my analysis:

Custom report feasibility analysis

It is not easy to do a custom report with powerful features. Some required requirements are as follows:

1. The function is strong enough to meet the vast majority of users;

2. Easy to operate, in order to achieve a purpose, it is more convenient and quick to operate;

3. It can be used to more conveniently bind to the target system, so that the system can be used without a large change;

4. The user is easy to learn;

5. The development workload is small and can take advantage of existing reports and query resources;

According to the above requirements, there are four ways to alternative: (rating is a point)

1. Write DataWindow with PB, this method is not as if informaker, because the Informaker function is simple, and it can meet the requirements of query and print format configuration.

2. Use Informaker to do the required DataWindW and Form, then compile to EXE, execute it directly. Advantages: Powerful function; destination system does not need to be modified; operation is still more convenient; development workload is small; can take advantage of existing reports and DW (especially compound reports): English development interface; English operation interface; learning development Difficulty; user permission is not good; rating: 5-4 = 1

3. Use your own custom report advantage: permission is relatively easy to control; users should be relatively easy to learn; any target system combination is relatively good; Disadvantages: Function is not very powerful; the convenience of operation is lacking; development workload Large; unable to use existing reports, especially non-Grid, Freeform reports, comparison is the label report for composite reports and pricing printed, and some complex features cannot be used, such as grouping, merge, etc. Rating: 3-4 = -1

4. PBL combined system configuration with Hanhua, PBL combined system configuration: powerful; easy to operate; small development workload; the purpose system is relatively changed; the permissions can also be controlled; can fully utilize existing reports and data windows; Disadvantages : User learning development has a certain difficulty; copyright issues; rating: 6-2 = 4

As can be seen from the above, it should be possible to use InformMaker to write dataWindow should be, it is more convenient. because

Informmaker functions are still simpler relative to PB, deleting a lot of features. As long as you can compare in the system

Do some configuration work, even partially shielded and simplified for Informaker's functionality, Chinese Informaker help, you should simplify user learning and you can achieve all the requirements mentioned above.

Call the problem:

How to call the program in PBL? First use getLibrary, setLibrary, you can include PBL in the program, then the object can be called.

So how do you call a new name of the new report, this needs to define a table (which contains a pair of relationships of the module name and PBL report object name), through another configured configuration window, the program can be The module and the report name in the PBL are connected, so that it can be changed.

Informaker Chinese:

Hanhua tool I recommend ML, I spent less than 3 days, I used to make INFORMAKER Chinese, but later hard disk formatted, forgot to back up. In fact, there is no difficulty, mainly careful, more test.

I hope my thoughts help everyone.

转载请注明原文地址:https://www.9cbs.com/read-94346.html

New Post(0)