Author: Charles T. Blankenship
Posted: 1998-02-19 at 22:26:18
Hi Prakash:
<I><FONT COLOR="#663300">I have been doing a lot of reading up on n-tier stuff - User services, Business services, data services etc. My Question is :
It is fine to talk about GUI -> Business Layer/service -> Data Service,and it can be implemneted - but has anybody implemented a regular commercial app where the Reporting also goes thru 'Business Service' ( Which i equate to Bizobjs ) ?
</I>
There is a class library in SAVI Codebook named cSAVIPrt.VCX. It contains one class named SAVIPrintingForm. This class, coupled with the event object can accomplish exactly what you are looking for. Define the required business objects as participant objects of the event. In the execute event method of the event, requery the business objects to obtain the data you require (any amount of pre-processing can be attached here that accepts parameters from users etc.) This, in effect, is how I set up the printing environment ... it is a more dynamic way of reporting that using the Codebook standard. The SAVIPrintingForm accepts the name of the .FRX file and a title to display when printing the report. This form allows the user to preview, print with dialog, print without dialog or print to a file.
Let me know if you have any questions. I believe that you have the version of SAVI Codebook that contains aforementioned .VCX.
Take care,
CTBlankenship
mailto:ctb@savvysolutions.com
Flash Creative Management, Inc. (FLASH)
ctb@flashcreative.com
tomandanna@erols.com