Printing Objects

  • Thread starter Thread starter Chrisitiaan
  • Start date Start date
C

Chrisitiaan

Hi,

I want to develop a 'truly' object oriented application, that is, my
business logic objects handle the business logic (of course) and the
persistence to a MS SQL server database. The user interface only deals with
objects (sometimes using reflection to make them 'editable'). I want to know
if anybody has a good suggestion how to print my (collections of) objects. I
dont want to use a tool like crystal reports, because it accesses the
database directly, instead of 'communicating' with the business objects. I
don't know if there are any (commercial) tools available which deal with
printing objects. Anyone?

kind regards,
Christiaan
 
Hi,

You can use CR with a XML file representing the data, you can generate a
XML from the collection and make CR use it as its datasource.

Anyway I think that the printing is a complex operation by itself and you
should use especialized tool for it. CR is a VERY good one for this. !

Cheers,
 
thnx,
I know, I am looking for a specialized tool;) I Just want to know whether
there is a Object-Oriented tool, one which can handle objects instead of
datasources.
 
I use Active Reports which very similar to Crystal Reports. I do not know
of a printing/reporting object that handles objects as a datasource. I
think it would be difficult to create a printing object that will take any
object. There would have to be some rules for the objects for a developer
to follow. I suggest that you use Crystal, Active Reports or some other
third party tool. I would create my business objects to be persisted to XML
and create the report from there.

Good Luck
 
Back
Top