Posted 4 August 2017, 2:44 pm ESTHow can I remove the gutter completely, so the Report looks like a textbox? Is this possible?
Posted by: woodyd on 4 August 2017, 2:44 pm EST
Replied 4 August 2017, 2:44 pm ESTI tried that but it's still the same. I'd like to show the page without the gutter. I am already resetting the margins before printing as A4.
Replied 4 August 2017, 2:44 pm ESTFile \ Page Setep \ Page Setup will allow you to set your margins, note that you can start having printer problems if you set your margins less than half an inch (720 twips), especially if you have an old deskjet. Margins are ignored for subreports, instead the main reports margins are used.
Replied 4 August 2017, 2:44 pm ESTWhere is the gutter still showing up? Viewer? Printed hard copy? Export?
Replied 4 August 2017, 2:44 pm ESTLooking at your code, no matter what event, and looking at the image you posted I am not really seeing this gutter that your are attempting to remove. The margins look wider than 10 twips, but I am not aware of the distance your controls are from the edge either, plus I believe textboxes have a 15 twip border built into them as well.
Since I doubt you are going to be printing you might try killing any default printer drivers in case those are causing an issue with your margins/gutter.
<font face="Courier New"> Me.Printer.DeviceName = ""</font>
Also you may want to try dropping your margin/gutter on a standard paper size, if that works, then move to a custom to see if that has anything to do with it.
Also if you are not using the latest AR2 release, considering upgrading.
Replied 4 August 2017, 2:44 pm EST<font face="Arial" size="2"> Changed to</font> <span> <span id="_ctl0_MainContent__ctl0_PostForm_ReplyBody" class="txt4"> <font face="Arial" size="2"> ReportStart event, no difference. Has removing the gutter been achieved before ?</font>
Replied 4 August 2017, 2:44 pm ESTIn the image I posted, there is a dark gray frame around the edge of the report area. Is this not the gutter? I want to remove this so the report edge meets the border of the control, with no space between.
Excuse me if I referred to the wrong thing.
Replied 4 August 2017, 2:44 pm EST
That is not my understanding of what a gutter is and looking at AR's help files I don't think your take is their take either.
The only thing that is coming to mind for me to do what you are attempting to do is to export the report to a file and then load that back into another control. Which to me sounds like a lot of coding for the programmer and resource intensive for the users.
Replied 4 August 2017, 2:44 pm ESTWhy are you using the PageStart event? You should experience greater success using the ReportStart event.
Replied 4 August 2017, 2:44 pm ESTIt shows in the Viewer, please see the attachment.
Replied 4 August 2017, 2:44 pm ESTThere is no way to remove the grey border in the ActiveX viewer. You may have other viewing options if you export the report to TIFF or PDF.
Replied 4 August 2017, 2:44 pm ESTThat isnt the gutter. That is the border that appears around any page in the print preview of a document. I circled the corner of the page, note the shadow.
Replied 4 August 2017, 2:44 pm ESTYou are right, there is no quick and easy solution.
I was hoping for the same effect as selecting 'Normal View' in a MS Word document.
Thanks for the input anyway.