I am doing a report and have come up with the
following problem.
If you use the criteria to select one record
then all the details are displayed correctly. If you select the criteria for
more than one record then the records are selected but the record is not
displayed on the screen unless I increase the detail section in size.
Displayed for 1 record
1 High Street
Displayed for more than 1 record (I have to
increase detail section to display)
1 high Street
The problem seems to be if there is no
{@address2}.
An example is as follows, basically the
report can display 2 addresses. These addresses are in one formula field. In
the formula field, called @Addresses I have the following formula.
Local NumberVar nOtherAddress := len({@Address2})
….some if statement but where I have the
problem is here
{@Address1} +
iif(nOtherAddress > 0, {@Address2} , “”,
I have tried trim etc but no luck. In the
format field of @Addresses, the following is ticked
Can grow, keep object together, close border
on page break. Apart from that nothing else is changed.
There must be something I have missed out or
doing wrong. Basically I am stumped????