Border Defaults on Subreports

Hi all,
I tried searching existing questions but can't single out this one: Can I set the borders default on subreports to "None"?
I know how to turn off the borders.... but i don't want to have to do it every time I insert a subreport.
Is it possible to set the subreport borders default to "None" so that it doesn't need to be done every time?
-Kaz

Karen,
Ian is correct. This functionality does not currently exist. It does, however, seem to be a fairly popular idea.
If you'd like to add your "2 cents", there are 3 suggestions related to this in the Idea Place.
[Subreport Borders should default to NONE|https://cw.sdn.sap.com/cw/click.jspa?searchID=453856&objectType=3227383&objectID=2467]
[Option to have borders turned off for subreports|https://cw.sdn.sap.com/cw/click.jspa?searchID=453856&objectType=3227383&objectID=2171]
[Define subreport defaults at a general level|https://cw.sdn.sap.com/cw/click.jspa?searchID=453856&objectType=3227383&objectID=1513]
This where the CR product team goes to look for new features enhancements. The more votes and comments an idea gets, the more likely it will be to get added to a future release or SP.
Jason

Similar Messages

  • I need a border around a subreport

    I want a border around my subreport. But the trick is I want a border that is ALWAYS THERE 100% OF THE TIME NO MATTER IF THE SUBREPORT RENDERS ANYTHING OR NOT.
    Again, when the subreport is empty and doesn't render, I still want a soplid border around the are the subreport would have been in. Again, I am going to repeat this a third time because I know the first 5 answers I get will tell me to set the border on
    the subreport property. That doesn't work. So again, I need a border that is ALWAYS there, not just when the subreport has data.
    I can't stress this enough, I need the border even when the subreport is blank.

    Hi Mscheaffer,
    I agree with Altuko’s opinion. When adding the rectangle in the main report and then add the subreport in the rectangle, the textbox border is controlled by rectangle. In addition, you can also add a list control to the main report to achieve the goal.
    References:
    Add a Rectangle or Container (Report Builder and SSRS)
    Lists (Report Builder and SSRS)
    What is the difference between List & rectangle in SSRS
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Turn off border around subreport that was created programmatically

    I have inserted a subreport into a reportdocument using:
    boSubreportClientDocument = boReportClientDocument.SubreportController.ImportSubreport(strSubRptFile, strSubRptFile, boSection)
    This works fine, except it puts a border around the subreport.  How do I programmatically remove the border?
    (This subreport was not inserted using the designer)
    Thanks,
    Jeff

    Hi Jeff,
    The border in not set from the subreport level, but from the main report level. Every object placed in a report, subreport, parameter, formula etc. has a generic ReportObject assigned to it. So after adding the subreport, you will need to loop through the report object in the section of the main report's  where the subreport was added...
    So just say you added the subreport to the first section of the detail area you could do this to turn off the border:
    // Loop through all report objects in the detail section area.
    foreach (ISCRReportObject repObj in rptclientdoc.ReportDefinition.DetailArea.Sections [0].ReportObjects)
      // Check to see if it is subreport type
      if (repObj.Kind == CrReportObjectKindEnum.crReportObjectKindSubreport)
      // clone the report object
      ISCRReportObject newObj = repObj.Clone (true);
    //modify the line style 
    newObj.Border.BottomLineStyle = CrystalDecisions.ReportAppServer.ReportDefModel.CrLineStyleEnum.crLineStyleNoLine;
      newObj.Border.TopLineStyle = CrystalDecisions.ReportAppServer.ReportDefModel.CrLineStyleEnum.crLineStyleNoLine;
      newObj.Border.RightLineStyle = CrystalDecisions.ReportAppServer.ReportDefModel.CrLineStyleEnum.crLineStyleNoLine;
      newObj.Border.LeftLineStyle = CrystalDecisions.ReportAppServer.ReportDefModel.CrLineStyleEnum.crLineStyleNoLine; 
    // tell the report to update the report object.
    rptclientdoc.ReportDefController.ReportObjectController.Modify (repObj,newObj);
    Trevor

  • Authorization for JMS resources

    Hi,
    consider the following use-case: we define a JMS topic to which certain, and only certain J2EE apps (probably running in different engines) should be allowed to report messages, but not for example a "malicious" standalone client. On the other side, clients should be allowed browse/read these messages without restrictions. In other words, distinct and selected producers, but broad audience of consumers.
    How could this be achieved best?
    In the online help I found a page suggesting to define a security policy. So I went to Visual Admin -> Security Provider -> Policy Configuration -> service.jms.default.authorization, selected "basic" as authentication method, removed group "Guest" from security role "clients" in "Security Roles", mapped it to a distinct user group (it's an UME user group to be precise, since my engine runs on an UME user store) and tried to publish a message to the topic --- to my surprise it worked! However, it shouldn't, since my client program does neither give user/password for the JNDI lockup nor for the creation of the topic connection.
    In fact, it does not matter how the "client" role is mapped to a user or group, my "malicious" standalone client always is able to post a message.
    What am I doing wrong?
    Best Regards
    Michael
    By the way: what exactly is the purpose of the user/password entries for factories and destinations in the JMS connector? The docu says it is for access to the JMS provider, but at least the SAP JMS provider seems not to make any use of them. Is this for access to third-party JMS providers?

    Hi
    Here are the steps you should make in version 6.40 :
    1. Create your own topic
    JMS Provider -> "Runtime" tab -> "JMS Server instances" border ("default") -> "Topics" tab -> "Create" button.
    Let's name this topic "MySecureTopic".
    2. Create a user which will have the permissions to produce messages to "MySecureTopic".
    Security Provider -> "Runtime" tab -> "User Management" tab -> "Create User" button.
    Let's name this user "secureproducer" with password "securepasswd". In my test I put this
    user in "Authenticated users" group, but maybe he can be in any other group.
    3. Now create new Security Role:
    Security Provider -> "Components" ("service.jms.default.authorization") -> "Runtime" tab -> "Policy Configuration" tab -> "Security Roles" tab -> "Security Roles" -> "Add" button.
    Note: in "service.jms.<b>default</b>.authorization" 'default' is the name of JMS instance (JMS Provider -> "Runtime" tab -> "JMS Server instances" border). If you use another instance, you should use the respective component ("service.jms.<b>another</b>.authorization").
    The name of my role is "SecureProdurerRole".
    Also add "secureproducer" user in this role :
    Select "SecureProdurerRole" and click on "Mappings" -> "Add" button.
    Security Provider -> "Runtime" tab -> "Policy Configuration" tab -> "Security Roles" tab -> "Mappings" border -> "Users" border -> "Add" button
    4. Now you should add a security rule that makes the required behaviour :
    Security Provider -> "Runtime" tab -> "Policy Configuration" tab -> "Resources" tab ->
            4.1. from "Resources" border choose "topic"
            4.2. from "Instances" border choose "MySecureTopic"
            4.3. from "Actions" border choose Action "produce"
            4.4. in "Granted" border should be only "SecureProdurerRole" and in "Denied" border - "administrators" and "clients" roles.
    Now in your Java code you must create your JMS connection with username and password provided:
    // this is the producer connection
    tc = tcf.createTopicConnection("secureproducer", "securepasswd");
    Otherwise using
    tc = tcf.createTopicConnection();
    this exception will occur :
    javax.jms.JMSSecurityException: You do not have permissions: action produce and instance MySecureTopic.
            at ...
    HTH
    Best regards

  • Want to change default border setting for inserted subreports

    hi -- When I insert a subreport into a main report, its default borders (all 4) are set to single. I want them all to be
    None... and I've read that the default is None. But that's not what I'm getting.
    How can I change the default border setting / restore it to what it's supposed to be?
    Thanks,
    Carol

    This has been a development request of mine for years.  Currently there is no way to default the borders to None.
    -Dell

  • How can I make a default border for a JWindow?

    I have a JWindow object that is created when a button is pressed in a JFrame. I want the JWindow to have the same type of border as the JFrame from which it's created. However, the JWindow is not created automatically with a border as the JFrame is, so I don't know how to set the border abstractly so that whatever border is used for the JFrame, per he default L&F, will also be used for the JWindow.
    I tried grabbing the border object from the JFame instance itself, but there is no such field in JFrame or any of its ancestor classes. I looked at UIDefaults, but I have no idea how this class can be used to get what I want. For example, if I use UIDefaults.getBorder(Object obj), what do I specify for the argument?
    I'd be happy with an abstract or a concrete solution. That is, either using the default Border for top level containers in the current L&F, or by grabbing an actual Border instance from a JFrame object.
    -Mark

    Also, I'm curious why you said that JFrame is not a swing component.A Swing component extends JComponent. Basically this means that all the painting of the component is done in Java. You can add Borders to any Swing component. It is called a light weight component. A light weight component cannot exist by itself on the window desktop.
    JFrame, JDialog and JWindow are top level components. They can exist on their own on the windows desktop because essentially they are Windows native components. They have been fancied up to make it easy for you to access and add other Swing components to it which is why they are found in the swing package.
    A Windows border is not the same thing as a Swing Border and there is no way to access the native windows border and use it in a Swing application (that I know of anyway). Swing Borders are not used in a normal JFrame, the Windows border is used. You can however, turn off the use of Windows decorations and use Swing painted decorations. Read the tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html#setDefaultLookAndFeelDecorated]Specifying Windows Decorations. However, this doesn't really help you with your Border problem. If you look at the source code for the FrameBorder, you will find that the "blue" color of the Border is only painted for "active" windows and a JWindow can never be the active window, only the parent JFrame or JDialog is considered active.
    Here is a simple program for you to play around with:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class FrameDecorated
         public static void main(String[] args)
              JFrame.setDefaultLookAndFeelDecorated(true);
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
              frame.setSize(300, 300);
              frame.setVisible(true);
              Border border = frame.getRootPane().getBorder();
    //          Border border = UIManager.getBorder( "RootPane.frameBorder" );
              System.out.println( border );
              JWindow window = new JWindow(frame);
              JPanel contentPane = (JPanel)window.getContentPane();
              contentPane.add(new JTextField(), BorderLayout.NORTH);
              contentPane.setBorder( border );
              window.setSize(300, 300);
              window.setLocationRelativeTo( null );
              window.setVisible( true );
              System.out.println("Window:" + window);
              Window ancestor = SwingUtilities.getWindowAncestor(contentPane);
              System.out.println("Ancestor:" + ancestor);
              System.out.println(ancestor.isActive());
              System.out.println(frame.isActive());
    }

  • Set default image border for presentation?

    Hey everyone, I had a question about Keynote that is probably really elementary. I'm formatting some master slides in Keynote for a presentation. I created a custom image as the background which is used throughout. I would like to make sure that all images used in the presentation are given a border, and I want that border to have a custom color to go nicely with the background. Is there any way to tell Keynote to generate a border like this around images (and videos/charts/other media too, if possible)?
    Thanks, and sorry about the probably-stupid question. It was one of those things that was really difficult to phrase for a google search, haha.

    You can set the default length of a lot of objects: Preferences, Defaults,
    Lilybiri

  • Print outs have thin border when -default-background-color is set

    Hey everyone.  In my application the print out have this very thin border.  The -default-background-color is set to #333333 (dark grey) and this is the problem.  When I set the color to #FFFFFF (white), the thin borders go away.
    When I set the default-backgroun-color to #FFFFFF, my loading screen is white.  I don't want that.
    Does anyone know how I can have my loading screen with a #333333, but not have the thin border lines around my print outs?  Setting the border properties on the printed component doesn't work.  The problem is with the background color.
    Thanks for reading.
    Tom

    Still hacking away at this problem.
    I thought I had the fix until I deployed the AIR application.  Setting the -default-background-color to white worked fine when running from flex builder, but when I installed the application.  The "borders" are still showing.
    Has anyone had any experience with this?  I'm printing Point of Sale receipts and they look like crap with these lines around them.  On top of this, some printers print differently.  The HPs print a border around the whole component. The Brother printers just print the left and right.  One of my customer's printers just prints the bottom and right borders.

  • Possibility to set default border to zero

    Hi there,
    I noticed that hardly any designer is using borders for the elements he is creating. Though in Muse the borders are set by default already, and we have to change it with every element we add, again and again. Especially all the states of all buttons and links which we have to correct each and every time. Wouldn't it be good to have the default set to "border: 0;" instead? It would probably not be a huge effort to the Muse developer team and I think it would spare us lots of effort.
    Best,
    bartl

    are you using 7.0 or 3.x?
    in 7.0 you can use the webcommands of the webTemplate.
    Use Dataprovider commands and there is an option for assigning a default value.
    To eliminate All Values, unchecked it for the dropdown box.
    hope it helps,
    have a nice day
    DavidG

  • Is it possible to change the default border on a JMenu?

    Hello,
    I'm working on an application that has a simple menu system. Clicking a button opens a JPopupMenu, which contains JMenu and JMenuItem objects. I want to change the border on the JPopupMenu and its JMenu submenus to a simple line border. Calling setBorder on the JPopupMenu works just fine, but calling it on JMenu doesn't change the border. The following code illustrates my point.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class MenuTest {
       JFrame f;
       JPanel p;
       JPopupMenu popup;
       JMenu mainMenu;
       JMenu subMenu;
       JButton showPopupButton;
       public MenuTest()
          f = new JFrame("Popup Menu Test");
          p = new JPanel();
          popup = new JPopupMenu();
          subMenu = new JMenu("Submenu");
          mainMenu = new JMenu("Main Menu");
          JMenuItem m;
          for (int i=0; i < 3; i++) {
             m = new JMenuItem("Submenu item " + i);
             subMenu.add(m);
          // This doesn't work.  The border remains set to the default Windows bevel.
          subMenu.setBorder(BorderFactory.createLineBorder(Color.BLACK));
          popup.add(subMenu);
          for (int i=0; i < 5; i++) {
             m = new JMenuItem("Main menu item " + i);
             popup.add(m);
          showPopupButton = new JButton("Show Popup");
          showPopupButton.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e)
                Component c = (Component) e.getSource();
                popup.show(c, 0, c.getHeight());
          p.add(showPopupButton);
          // This works.  It sets the border of the popup menu to a black line border.
          popup.setBorder(BorderFactory.createLineBorder(Color.BLACK));
          f.getContentPane().add(p);
          f.setSize(400, 300);
          f.setVisible(true);
       public static void main(String[] args)
          try {
             UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
          catch (Exception e) { }
          new MenuTest();
    }Any ideas? Do I have to extend JMenu and do some custom painting to accomplish this? I'd also like to change the roll-over color on the menu items, but neither JMenu nor JPopupMenu seem to support that. It looks like borders and rollover colors are L&F dependent.
    Thanks in advance for any help.

    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class Example {
        public static void main(String[] args)  throws Exception {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            UIManager.put("MenuItem.selectionForeground", Color.GREEN);
            UIManager.put("MenuItem.selectionBackground", Color.BLACK);
            JMenuBar mb = new JMenuBar();
            Border border = BorderFactory.createRaisedBevelBorder();
            JMenu file = new BorderedMenu("File", border);
            file.add(new JMenuItem("New"));
            file.add(new JMenuItem("Open"));
            file.add(new JMenuItem("Close"));
            JMenu edit = new BorderedMenu("Edit", border);
            edit.add(new JMenuItem("Cut"));
            edit.add(new JMenuItem("Paste"));
            edit.add(new JMenuItem("Copy"));
            mb.add(file);
            mb.add(edit);
            JFrame f = new JFrame("Example");
            f.setJMenuBar(mb);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setSize(400,300);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        static class BorderedMenu extends JMenu {
            private Border border;
            public BorderedMenu(String text, Border border) {
                super(text);
                this.border = border;
            public JPopupMenu getPopupMenu() {
                JPopupMenu p = super.getPopupMenu();
                p.setBorder(border);
                return p;
    }By the way, I find the following program handy when snooping around the UI defaults.
    import java.awt.*;
    import java.util.*;
    import javax.swing.*;
    public class Listing {
        public static void main(String[] args) throws Exception {
            UIDefaults defs = UIManager.getLookAndFeelDefaults();
            ArrayList list = new ArrayList();
            for(Iterator i = defs.entrySet().iterator(); i.hasNext(); ) {
                Map.Entry entry = (Map.Entry) i.next();
                Object key = entry.getKey();
                Object value = entry.getValue();
                if (value instanceof Color)
                    list.add(key);
            Collections.sort(list);
            JPanel panel = new JPanel(new GridLayout(0,1));
            String lastCompName = "";
            for(int i=0; i<list.size(); ++i) {
                Object key = list.get(i);
                String text = key.toString();
                int dotIndex = text.indexOf('.');
                String compName = text.substring(0, dotIndex > 0 ? dotIndex : text.length());
                if (!compName.equals(lastCompName)) {
                    lastCompName = compName;
                    panel.add(new JLabel());
                Color color = defs.getColor(key);
                JLabel label = new JLabel(text, new ColorIcon(color), JLabel.LEFT);
                panel.add(label);
            JFrame f = new JFrame("Listing");
            f.getContentPane().add(new JScrollPane(panel));
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setSize(f.getWidth(), 600);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    class ColorIcon implements Icon {
        public static final int ICON_WIDTH = 20;
        public static final int ICON_HEIGHT = 16;
        private Color color;
        public ColorIcon(Color color) {
            this.color = color;
        public int getIconWidth() {
            return ICON_WIDTH;
        public int getIconHeight() {
            return ICON_HEIGHT;
        public void paintIcon(Component c, Graphics g, int x, int y) {
            if (color != null) {
                Color old = g.getColor();
                g.setColor(color);
                g.fillRect(x, y, ICON_WIDTH, ICON_HEIGHT);
                g.setColor(Color.BLACK);
                g.drawRect(x, y, ICON_WIDTH-1, ICON_HEIGHT-1);
                g.setColor(old);
    }

  • Change default format of border styles

    I am wondering if there is a way to change the preset default cell border styles in the most current version of numbers. 
    Thanks,
    -A-

    Hi L.T.D.
    I don't know of a way to change the default cell border style.
    You could try this. Select the cells, Format Panel > Cell > Border > Choose which borders to set > Border Styles > Recent.
    My preferred method is to create and format a single table in a document and Menu > File > Save as Template.
    Menu > Numbers > Preferences... > General > For New Documents > Use template
    When I launch Numbers or Menu > File > New (command n) I get this from My Templates:
    Note: if you have that setting in Numbers Preferences, New from Template Chooser will disappear from the File Menu.
    To get it back, hold down the option key when using the File Menu.
    Regards,
    Ian.

  • Change printing defaults to print a individual slides and not have a border

    It is annoying to always have to choose individual slides and turn the border off while printing. Is there a way to change this default so it is always that way?

    801878 wrote:
    1. Is there a way that print(...) method of Printable interface can send ASCII character and not graphics rendering?Not that I know of, but note that you can use the Graphics.setFont(Font) method on your Graphics/Graphics2D to cause the printing to use whatever font (or combination of fonts) you want.

  • Safari 3.2.1 defaults to borderless printing, how do I revert to border?

    I can not figure out how to get Safari to stop using Letter-borderless as a default when I print or save to PDF. Even when I change the print dialogue to Letter-Border it remains and prints borderless.
    I owned a PIXMA 830 but uninstalled it to install the software for Pixma 850 which is where I thought it might be coming from but to no avail. I have tried printer preferences in the System Preferences, no good at offering any way to alter. It just says Letter (without any options for borderless or or not)
    Thank you in advance.

    www.filehippo.com has older versions of iTunes. I'm not an expert on this, but I have previously uninstalled iTunes and reverted to an older version I downloaded from FileHippo. You'll have to do a search over there for the file you want. Good luck!

  • Black border in default scale

    I would like a little help. When i import a .swf movie in
    html and leave the "scale" to default and dimensions 100% x 100% i
    get a black border above and below my movie. I want this border to
    be white . Is it possible ? thank you.

    The setting is in the html file...Body bgcolor is #000000
    needs to be changed to #FFFFFF

  • Can you reload the default HTTPS certificate for a Border Controller?

    The HTTPS page does not work for the Tandberg Border Controller (Q6.3). HTTP is fine. I believe that the customer uploaded their own certificate which has now “broken” the HTTPS page.
    So the question is – can you reload the default HTTPS certificate for a Border Controller?
    There’s a handy button to do this on the VCS but not on the BC it seems. The only option I can see is for the customer to generate a “working” certificate and upload it, is this the only option?
    Thanks,
    David

    Hi sherylz,
    It is also possible to edit the theme, but it may be wise to make a copy of it:
    *[https://support.mozilla.org/en-US/questions/940165]
    *[https://developer.mozilla.org/en-US/Add-ons/Themes/Background MDN Reference]
    *Add on to make own skin: [https://addons.mozilla.org/en-Us/firefox/addon/bt-canvas/]

Maybe you are looking for

  • Need to run a hardware test on MBP4,1, 17" OS 10.5.8 w/out disc?

    I have a macbook pro with the following specs: - 17inch macbook pro 4,1, 2. 5 GHz - non-unibody (released sometime in 2008) - OS 10.5.8 My battery recently expanded and 'exploded', so i bought a new one (from macsales.com) and replaced it. battery wo

  • Sometimes doesn't automatically add invitations

    iCal in Leopard has been a huge pain to say the least. I am the IT director for a law firm with 20 attorneys. One of the senior partners upgraded to 10.5 back in December. He's had continuous problems getting the invitations to go from email to iCal

  • ISight cam on, but Monitor off ?

    Hi guys, tried looking for this question in the forums and nothing... I currently use a Macbook Pro and the latest version of Mac OS X. I also have the Macbook Pro connected to the Flat HD TV. My question is: How can I turn off the Monitor on the Mac

  • Fun and games installing Oracle ...

    For various reasons we still use Oracle 8.1.7.4 on Solaris 8 (yes yes I know ... it was the version that Noah used to run the Ark but I am stuck with it so please no suggestions about upgrading :-) ) I decided to attempt to install Oracle 8.1.7.4 on

  • System error in program SAPLRSOA

    Hello All, I tried to execute a query and it resulted in the following error: System error in program SAPLRSOA and form FUNC RSOA_VCUBE_READ_REMOTE_DATA[6] (see long text). In BI, the data is readfrom the remote cubes. And there seems to be error in