Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing blank space on a report

Status
Not open for further replies.

Jimmy2128

Programmer
Feb 6, 2003
58
US
I have a report that prints an employee roster but it put a blank space between phone and email please see below.
I check all the properties and the query and I cannot make the email address to move-up. Please any suggestions.

Thanks

John Doe
Address1
Address2
City, State Zip
000)000-0000 phone

johndoe@johndoe.com
 
Try something like this
Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.txtEmail = "" Then Cancel= True 
End Sub

Zameer Abdulla
Jack of Visual Basic Programming, Master in Dining & Sleeping
Visit Me
 
Check the properties for your phone text box. Make sure 'Can shrink' is enabled. (I'm guessing that 'can grow' IS enabled for the phone.) You may also have spaces in the phone number making it wrap - it could be any number of things. You could also try making the phone text box wider to see if that takes care of it.

good luck

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top