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

Shifting components horizontally

edited August 2002 in End User
Hello,

I am using two components: Variable and Label next to each other.
The Variable will display a number which is in a required currency display
format.
The label is just text. The two components should display as a sentence in a
letter.
The problem I am having is that the Label component will not shift to the
right when
the Variable component's size changes.

Example below shows how the text can get overwritten because of the Variable
value

Variable Label
$3,000.00 . In the event that you fail to pay the balance
$2,000,000.0n the event that you fail to pay the balance

Any suggestions for this. Is there a way to make a component shift to the
right.

Thanks in advance
Prathy

Comments

  • edited August 2002
    I think no! But this is solved with calc field anytime I have to shift
    right! Other way is before event to assign values!
    In my case such a thing always work!
    Regards,
    DV

  • edited August 2002
    Yes, I tried with the calc field (Variable component) to do this, i.e. in
    the Before Print event of the calc tab such as

    example: Variable1.AsString := Datapipeline[Numberfield] + ' . In the
    event that you fail to pay the balance';

    This does solve the shifting. However, now I have my datafield value and
    text in the same component. This means that I cannot put a currency display
    format for the datafield value alone as the calc component must now be a
    string. My Datapipeline[Numberfield] is of type double but I want to set the
    display format to:
    $#,0.00;-$#,0.00

    Any suggestions for this. Thanks.
    Prathy


  • edited August 2002
    RBAddOn components has native support for display formats embedded in text
    with their Merge Fields technique. Surf www.bancoems.com\RBAddOn.htm for a
    demo.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.