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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compacting fields in a report

Status
Not open for further replies.

GJP55

Technical User
Feb 2, 2003
220
GB

I have a report that has 10 fields in each section. I also have code that will not show the details of a field if it has no value but would like to compact the other fields together instead of having blank spaces. I know it can be done but I do not know how.

Any help much appreciated.
 
Are the controls stacked vertically? If so, you can use the Trim function. The control source would be something like this:
Code:
=Trim([YourFieldName])
 
Yes the fields are stacked vertically. I have tried the trim function but I get an error on that control when I preview the report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top