Research seems to indicate that widths are determined at design time, not run time. So no, it can't be done. But nobody seemed to want 500pts for saying so.
Main Topics
Browse All TopicsIs there any way to make the width of a table column adjust automatically based on a value returned by the dataset? I have a report that just barely can print in 8.5x11in landscape. If some numeric values are going to be too large, I'd like to increase the column widths (which will then make the table wider, which would ideally then trigger a change to legal sized paper layout) automatically. Otherwise the value wraps vertically, which just looks stupid.
(Yes, the easy answer is just to design for legal sized paper from the start, but that's not what the user wants.)
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: RakafkavenPosted on 2007-06-04 at 09:37:17ID: 19209887
This would also work if CanShrink will handle my headers that should display on two lines (carriage return, I assume) and I can set the table/report properties to select the appropriate paper when the table size crosses the threshold.