473,385 Members | 1,267 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Report Width Stuck

Hi, I have a report that is stuck at 13.675" and it will NOT shrink. It can grow but it will not get any narrower than that. Here is what I have tried, I have looked for any objects that are blocking my report from getting narrow. I have made every section taller to look for any line stragglers, nothing. I have made my report 22" done a ctr-A and deleted EVERY control on my report, nothing. I have selected from 14" to 0" on the top ruler to get all objects in the vertical line, nothing. I have gone into the page setup and tried to adjust the width through that, nothing. I have tried to adjust it in the properties, nothing. I have tried to adjust it through VBA, nothing.

WTF is going on? I am out of ideas and I cant find any reason that this report couldn't become narrower. Has anyone else had this problem?

Blake
Oct 25 '11 #1
1 2098
Well I found the rogue line, for anyone interested I used Allen Browne's code
Expand|Select|Wrap|Line Numbers
  1. Function FindRogue()
  2. Dim rpt As Report
  3. Dim ctl As Control
  4. Dim strDoc As String
  5.  
  6. strDoc = "04 - Backlog Report - Valley"
  7. DoCmd.OpenReport (strDoc), acViewDesign
  8. Set rpt = Reports(strDoc)
  9.  
  10. For Each ctl In rpt.Controls
  11. If ctl.Width > 6.5 * 1440 Then
  12. Debug.Print ctl.Name, ctl.Width
  13. End If
  14. Next
  15.  
  16. Set rpt = Nothing
  17. DoCmd.Close acReport, strDoc
  18. End Function
  19.  
Very helpful
Oct 25 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Robert | last post by:
Hi, I'm using a Crystal Report in my c# app. The problem is that I'm unable to set the width of the report. Any ideas? Thanks in advance.
0
by: Colin Graham | last post by:
I have built a crystal report in Visual studio 2003 and i am now able to display the report on my screen using a .net crystal report viewer. The problem that i have is that the crystal report is...
1
by: Deepthi | last post by:
Hai... I have to generate a report with a table which consists of 31 columns. While designing the report for this, i am unable to place all the 31 columns in one row. Can anyone help me in...
0
by: Bruce Lawrence | last post by:
For the life of me I cannot figure out why this message about the report width being greater than the page width. I have a custom label my company created. It's 1.25 high by 1.85 wide. I put...
4
by: xiaawan | last post by:
Hi All. Can anyone help me how to increase Crystal Report's width at design time. Actually I have many columns on the report. I haved increased the detail section of the report using section expert...
4
by: Neelesh2007 | last post by:
I am using Datareport in a VB6.0 project with Access as backend. My code work fine with my PC. Also I have installed the project in several other PC's. (I have created setup with Visual Studio...
4
by: krishna1983 | last post by:
hi friends i faced some problem in vb6.0 . ""Report width is larger than the paper" any body help me
1
by: dzgreek | last post by:
I use VB6 and for the first time its Data Report designer - I am using it without a data environment and I set my reports datasource property within my code. All I ever get is this error message...
0
by: Andyxis | last post by:
Hi guys, I had been working in vb's data report and had set it's orientation to landscape at run time. There's NO error with it. The problem is I can't extend the width property of the data...
2
by: Scorp Scorp | last post by:
Thanks alot, it solved my problem, reallyyyyy appriciate, i spent a lot searching how to teak it. One more question, when the report is trigered to load (after the button click) am getting a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.