
Printing via Crystal Report or Printer object??
Well, count me as another person who hates CR and loves ActiveReports. CR's
report designer is truly pathetic; I can't believe how bad it is compared to
Access. ActiveReport's designer has the look and feel of the Access
reporting environment, and is much easier to use (not to mention it actually
works). Crystal's formulas are a pain to work with; this is VB, why the hell
should I learn some other proprietary language that doesn't even offer all
the functionality of VBA? Also, ActiveReports uses VB events, and you can
extend your report objects just like a class by adding properties and
methods. Then your VB code can use the report objects just like any other
class object, which makes for an extremely intuitive coding. Creating
unbound reports is also very easy with ActiveReports. My last project used
unbound reports that were actually bound to my custom business objects, and
doing it with ActiveReports was a snap. Being able to write code like:
Dim apps as New LoanApps 'My custom business object that
implements a collection of Loan Applications
Dim rpt as New LoanAppReport
apps.Filter "Status = " & appPending
apps.OrderBy "ApplicantName"
Set rpt.LoanApps = apps
rpt.PrintReport True
is a big plus in my book. I haven't used CR since ver 6, but I'm pretty sure
even with the latest version binding reports to VB objects would be
considerably more work with CR than it is with ActiveReports.
Jeff
Quote:
> CR is the best tool. Try creating a report in Crystal and add a Formula
> Field to the report. Resize it to how you want it to be displayed. Now in
> your vb project pass the text through Crystals OCX to its formulas
property
> for the report you just created. Pass it the name of the formula and the
> text. Active Reports isn't nearly as easy or dynamic as Crytal Reports.
> Whoever told you that was feeding you full of it.
> > I have a project that requires multiple rich-text regions on each
> > page. My first attempts have centered around Crystal Reports - copying
> > text from my on-screen preview to the Crystal Designer (version 7)
> > report text objects. I can get the text copied over OK, but the font
> > scaling is not what I expected. I have tried to dynamically scale the
> > font size down, but get a message like "Method 'size' of object 'font'
> > failed".
> > Would it be easier/faster to:
> > 1) keep fighting CRW until I get it to work
> > 2) switch to a better (more dynamic) tool like ActiveReports
> > 3) use the VB Printer object
> > Any suggestions (especially tips on dumping multiple richtext regions
> > to the printer object - since I suspect that will be my best
> > alternative) will be most appreciated.
> > Scott