We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Report Field Length

Robm1955
Posts: 553 Forumite


in Techie Stuff
I am creating a report in Access 2003, and I need to make some of the fields smaller, as the report is spilling over onto the next couple of pages. Without keep changing the control lengths, is there a way of automatically setting the length of the control so the text fits. Without going through every record, I don't know what the maximum number of characters in a control is.
0
Comments
-
One suggestion in properties of control change font size to be smaller so more text fits in it.
On the other point of going through all records, the max length of a column of data stored in a table/query can be retrieved in a query with SQL statement like:-
SELECT max(len(lname))
FROM Table1;
where lname is the field name and Table1 is table/query name.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351.7K Banking & Borrowing
- 253.4K Reduce Debt & Boost Income
- 454K Spending & Discounts
- 244.7K Work, Benefits & Business
- 600.2K Mortgages, Homes & Bills
- 177.3K Life & Family
- 258.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards