Shifting memos sideway?

hsmhsm
edited 4:20PM in FastReport 4.0
I have three memos on the same line in detail band.
The left hand one contains fixed text and the other two contain string data from my database. The first two are in bold.
ie (the {} represent the memos)

{Assigned to} {[dataset.AssignedStaffName]:} {[dataset.AssignedDate]}

I'd like to shift the {[dataset.AssignedDate]} memo leftwards depending upon then length of {[dataset.AssignedStaffname]} so that it always looks nice

ie instead of...
Assigned to Mr An Extremely Long Customer Name:
Spoiler
x
12/06/2011
Assigned to Mr ShortName:
Spoiler
xxxxxxxxxxxxxxxxxxxxxxxx
17/03/2011
Assigned to Mr Medium Length Name:
Spoiler
xxxxxxxxxxxxxx
15/08/2011

it looks like...
Assigned to Mr An Extremely Long Customer Name:
Spoiler
x
12/06/2011
Assigned to Mr ShortName:
Spoiler
x
17/03/2011
Assigned to Mr Medium Length Name:
Spoiler
x
15/08/2011


How can this be done?
Howard

Comments

  • gpigpi
    edited 4:20PM
    Try to set {[dataset.AssignedDate]} memo's Align property to baLeft

Leave a Comment