Discussion:
Datamemo driving me crazy
(too old to reply)
Gertjan van Heijst
2007-05-17 10:44:15 UTC
Permalink
Hi all,

I've been trying for weeks now to get a few datamemo's on an databand
in such a way that the position of each datamemo is adjusted to the
content of the datamemos above. (that is, that the amount of
whitespace is constant, no matter the text size of the datamemo's. So
far, the only way i got this working is by including a new footer band
for each datamemo, but this causes rave to go into and infinite loop
ocasionally (i guess this is the problem mentioned in

http://groups.google.com/group/borland.public.delphi.thirdpartytools.ravereports/msg/9ba6c859c24cddb1?as_umsgid=***@newsgroups.borland.com

although i use the BEX version (6.0.2) which is not supposed to have
this problem)

I suppose this is a need many report builders have, and since the
problem is not mentioned in this group i suppose there must be a
simple way to do this, but i can't find it ...

Thanks for any help, Gertjan
Trevor Keegan
2007-05-17 11:27:38 UTC
Permalink
Hello Gertjan,

Do I understand correcly....you have (say) 2 Memo fields on the same band,
and you are wanting to have the top of these memo fields to start at the
same position vertically on the page?

If this is the case, the only way that I know of to do this, is either using
scripting, or hand coding your report. This is because you need to keep a
track of where your cursor is before you start printing, or you need to
manually print line by line of each memo....this is something that the
designer does not allow you to do natively.

Regards
Trevor Keegan
Gertjan van Heijst
2007-05-18 10:09:28 UTC
Permalink
Hi Trevor,

Thanks for your response. I want to have two (or more) datamemos on
the same band below eachother with a fixed amount of whitespace
between the two. So the top of the second datamemo depends on the size
of the contents of the first one. I suppose some combination of
anchors should do the job but i don't get it working.

Best wishes,

Gertjan

Loading...