Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

QuickReports Features - Help Me Find

edited June 2002 in General
We've been using the QuickReports QRBuilder for a while. There are some
features that we've grown to like. Can anyone help me find the following in
ReportBuilder? Maybe it's because it's late, but I can't seem to find the
equivalents.

* Print only if value is true - allows me to only print an element if a
certain condition is met. A simple example would be if the RecordCount is
zero, print a label that reads "No Records Found". Otherwise, the entire
detail band prints. This is available on any element including bands.

* Functions - QR has a bunch of functions the user can add as expressions to
the report (IF..Then, DayOfWeek, etc). You could also do things like,
query1.UserName + '(' + query1.SortName + ')' to get something like Mr. Jim
Carr (Carr, James).

* Memo Field - This is basically a self-contained memo field in which you
can put database fields and functions as in:
Dear %UserName%,
Your payment of %AmountDue% was due on %DueDate%.

* Child Bands: (Straight from QR help) A childband is a band which is
attached to another report band and which will always be printed below its
parent band. This way you can print an additional band after each detail
band for example. The advantage of using child bands instead of just
resizing the parent band to make room for more report elements is that there
can be a page break between a band and its child if needed, and the child
band can be printed independently from its parent band, even if the parent
band is not printed. You must use child bands if you have report elements
with "Autostretch" set to true and you want to print element below such
auto-resizing fields. In this case place all the elements which should be
moved down automatically because of autostretching elements before them on a
child band.

* Font Rotation

Comments

  • edited June 2002
    1. You can use the DetailBeforePrint event to check the number of records
    and print a message label if a condition is met. There is also a
    NoDataBehavior property for the entire report.

    2. RB is completely driven by events which allow you to do exactly this.
    RAP, available in Enterprise, allows you to do this in the report designer
    itself and save the code/calculations with the report template. See
    RBuilder\Demos\RAP

    3. Use the MailMerge capability of the RichText component to achieve this.

    4. There are a number of components and properties which help you achive
    such behavior. You subreports if you need to print something in it's own
    context or some data that is in a master-detail relationship. Use the region
    component if you simply need to position and shift data relative to each
    other. These components have properties such as ShiftRelativeTo which will
    enable that behavior.

    5. Check out the RotatedText component. Surf to www.digital-metaphors.com,
    go to friends->rcl.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.