Eliminating a space in a report

Rockape

Registered User.
Local time
Tomorrow, 00:07
Joined
Aug 24, 2007
Messages
271
Hi,

I would like to know whether the following routine is possible.


(I am using A97)!

I have a table of addresses:-
A1
A2
A3
Country

There are occasions when the address is so short that Address 3 (A3) is not required even though the country field is filled in.

I also have a report which picks all four addresses. However, given the above, when I print the report, there is a blank gap in the address3 .

I was wondering whether itis possible to avoid that.

the report instead of looking like:-

John Doe
Apt1 Block3
A3
England

would become:

John Doe
Apt1 Block3
England


Thanks
 

Attachments

Set the Can Grow and Can Shrink properties of all four address controls to Yes.
 
Hi ,

Just done that but the problem remains!!
 
Change the Control Source of address 3 to:
Code:
=IIF(Len([[COLOR=Red]Address3[/COLOR]] & "") = 0, Null, [[COLOR=Red]Address3[/COLOR]])
Substitute Address3 for the correct field name. Then run the report to see if Address3 is shrunk.
 
Hi,

No I get an error in that field now when preview the report!

By the way do you mean changing the Contol Source of the field Address 3 in the report?
 
Hi,

That's not working either. Please note I am using A97.

Can anyone amend whet I uploaded to see if it works?

Thanks
 
You will find that a lot of us don't have 97. You really need to start thinking of upgrading pretty soon.

Anyway, each field has a label next to it. You textbox is shrinking but the label isn't.

Get rid of the label and it should shrink as advised in my first post.
 

Users who are viewing this thread

Back
Top Bottom