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

Similar Messages

  • 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

  • Hey i need help my iphone 5 all of a sudden has like an all white border around it and sometimes it has a blank screen what seems to be the problem?

    hey i need help my iphone 5 all of a sudden has like an all white border around it and sometimes it has a blank screen what seems to be the problem?

    Try turning off the following:
    Settings>Mail, Contacts, Calendars>Push>OFF
    Settings>Notifications>Mail>Gmail>Notification Center>OFF
    Settings>Mail, Contacts, Calendars>Fetch New Data>Off

  • How do I print multiple (4) photos on one page with a border around each?

    How do I print multiple photos on one page with a border around each? I've gone the contact sheet route and adjusted the number of columns but there's only outer margins and very little white space between the photos down the middle of the page.

    Ok, now I feel stupid! I always thought I was printing 6 x 4 but now I realise I can't have done!!
    The photos that I used to print are approx. 5.2" x 4" (i.e. 4 fitted nicely on a page & I had to cut the boarder off).
    I guess I just need to play with different sizes under the 'custom' option in order to get the biggest possible picture!
    Thanks for the help

  • How can I print with black border around edge of image?

    I'd like to add a black border around the edge of certain images I'm printing. I know it's fairly trivial in Lightroom, but I can't see where this option is in Aperture. Is this lacking in Aperture, or am I just missing it? Many thanks.
    PS -- I'm aware there are some plug-ins that claim to do this, so if Aperture can't do this, please feel free to chime in with comments on the best plug-in for this task.

    Rich Hayhurst wrote:
    Here's what you need:
    http://www.apple.com/downloads/macosx/aperture/apertureborderfx.html
    Aperture BorderFX 1.1
    Thanks, Rich. That's a good plug-in, and does cover what I need (with lots of other features, too). The problem, though, is it requires an export of the image, which I then have to either print from another application, or reimport to Aperture to print. I was hoping to find something that will either just apply the border to the print job, or that would serve as more of an Edit With . . . type of plug-in than an Export plug-in, so I can keep everything in one place. Thanks again.
    Message was edited by: jeffd55

  • How to get rid of the black border around the artboard

    Hopefully my last question for tonight.
    I need to get rid of the black border around the artboard. The two images show my drawing lined up with the art board and then inside the artboard. The dark gray is not the artboard.
    As you see, the artboard has a black border. I need to get rid of it. It shows up in my project when my color key is green. The black won't go to transparent.
    So how-to get rid of the border? Thanks
    ***Update***
    I figured it out. View > Hide Artboards. Maybe this will help someone. Doesn't change the fact my spider looks like a tick:)

    Doesn't change the fact my spider looks like a tick:)
    Try to get hold of a real spider and take a look at its anatomy, specially where the legs sprout from :-)

  • How to add a Border around an ImageView

    Hi all,
    I'm adding a row of photos in my application which are being resized to fit into some constrained space with Preserve Ratio true. They are put in a TilePane, with a Label below each photo.
    Basically, I give all my ImageViews a fitHeight of 120 pixels, and let them determine how wide they will become themselves in order to preserve the ratio.
    It looks great.
    However, I would like to add a Border around these images, as they sometimes fade too much into the background to clearly see the edges. ImageViews themselves donot support borders, so I'm forced to wrap these ImageViews inside another container.... but, no matter what container I use, the container itself refuses to resize itself to fit exactly around the image -- it seems to be completely oblivious of the real size of the Image -- with some parameters the ImageView will simply render itself outside the edges of its container, and with other parameters the container is wider than the ImageView leaving a gap on the right side.
    This is yet another instance where I want my ImageViews to resize themselves to fit the available space, resulting in a huge struggle to force these components into their proper straight-jacket. Anyone got any solutions for this?

    I'm afraid that also won't work, as the Image needs to be scaled, and the dimensions you are using are from the unscaled image.
    I've however am now using this class to get what I want, together with a stylesheet to specify the border it works and I get nice borders.
    package hs.mediasystem.util;
    import javafx.beans.property.BooleanProperty;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.geometry.Bounds;
    import javafx.geometry.Insets;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.layout.Region;
    import javafx.scene.layout.StackPane;
    public class ScaledImageView extends Region {
      private final ImageView imageView = new ImageView();
      private final StackPane effectRegion = new StackPane();
      private final ObjectProperty<Pos> alignment = new SimpleObjectProperty<>(Pos.TOP_LEFT);
      public ObjectProperty<Pos> alignmentProperty() { return alignment; }
      public final Pos getAlignment() { return this.alignment.get(); }
      public final void setAlignment(Pos pos) { this.alignment.set(pos); }
      public ScaledImageView(Node placeHolder) {
        getChildren().add(imageView);
        getChildren().add(effectRegion);
        getStyleClass().add("scaled-image-view");
        effectRegion.getStyleClass().add("image-view");
        if(placeHolder != null) {
          effectRegion.getChildren().add(placeHolder);
          placeHolder.getStyleClass().add("place-holder");
          placeHolder.visibleProperty().bind(imageView.imageProperty().isNull());
      public ScaledImageView() {
        this(null);
      @Override
      protected void layoutChildren() {
        Insets insets = effectRegion.getInsets();
        double insetsWidth = insets.getLeft() + insets.getRight();
        double insetsHeight = insets.getTop() + insets.getBottom();
        imageView.setFitWidth(getWidth() - insetsWidth);
        imageView.setFitHeight(getHeight() - insetsHeight);
        layoutInArea(imageView, insets.getLeft(), insets.getTop(), getWidth() - insetsWidth, getHeight() - insetsHeight, 0, alignment.get().getHpos(), alignment.get().getVpos());
        Bounds bounds = imageView.getLayoutBounds();
        effectRegion.setMinWidth(bounds.getWidth() + insetsWidth);
        effectRegion.setMinHeight(bounds.getHeight() + insetsHeight);
        effectRegion.setMaxWidth(bounds.getWidth() + insetsWidth);
        effectRegion.setMaxHeight(bounds.getHeight() + insetsHeight);
        layoutInArea(effectRegion,  0, 0, getWidth(), getHeight(), 0, alignment.get().getHpos(), alignment.get().getVpos());
      @Override
      protected double computePrefWidth(double height) {
        return 0;
      @Override
      protected double computePrefHeight(double width) {
        return 0;
      public final ObjectProperty<Image> imageProperty() { return imageView.imageProperty(); }
      public final Image getImage() { return imageView.getImage(); }
      public final void setImage(Image image) { imageView.setImage(image); }
      public final BooleanProperty preserveRatioProperty() { return imageView.preserveRatioProperty(); }
      public final boolean isPreserveRatio() { return imageView.isPreserveRatio(); }
      public final void setPreserveRatio(boolean preserveRatio) { imageView.setPreserveRatio(preserveRatio); }
      public final BooleanProperty smoothProperty() { return imageView.smoothProperty(); }
      public final boolean isSmooth() { return imageView.isSmooth(); }
      public final void setSmooth(boolean smooth) { imageView.setSmooth(smooth); }
    }

  • How to make a round border around my picture?

    I am trying to design a logo that would fit into the center of a Frisbie, yet I cannot figure out how to make a round border around the picture. I have tried using the eliptical tool, and have also tried using the cookie cutter. The only option I can get to work with the eliptical tool, is the feather, yet I can't change the pixel number for some reason, so it just makes a thin circle around the picture. I thought I could cut and paste it, but the copy and cut options were grayed out and didn't work. When I used the cookie cutter, it made a nice border, and I pasted the picture into it, but, there are four sections that need to be filled in with the background color and the paintbucket didn't work in those spaces (they are the gray and white checked areas. (the picture ends up looking like a rectangle inside of a circle). So I made a new blank file and filled it in with the color of the picture's background, hoping to use the cookie cutter tool around the picture that was now pasted into the new blank file (I chose another color for the round border) and I used the cookie cutter around the picture, but when it was finished, the whole picture ended up being white. All I want to do is to make a border around a picture (a round border). Nothing I have done has worked though. What am I doing wrong, or what are some other options for trying to do this? Thanks.

    Here is a simple way to add a border. Select the item, add a blank layer, choose the border size and color and the Outside option:
    Here is the result:
    Note that you don't even need to do the Stroke on a blank layer. You can Stroke directly on the picture layer. However having the blank layer preserves the picture in case you want to start again with different Stroke options.
    If this is not what you are looking to do, please clarify.

  • I am making a graduation video for my cousin using Final Cut Pro. I have photos layered over videos, and I was wanted to find out how you can add a border around the photos so they stand off of the video. Anyone know what I could do?

    I am making a graduation video for my cousin using Final Cut Pro. I have photos layered over videos, and I was wanted to find out how you can add a border around the photos so they stand off of the video. Anyone know what I could do?

    You would need an image editor to edit the images and add a border to the image first before importing them into Final Cut.
    Cheapest and very good image editor?
    PIxelmator.
    Located in the Mac App Store. $14.99 USD.
    Here is the Pixelmator website to give you an overview of the app.
    http://www.pixelmator.com/
    Good Luck!

  • Unwanted border around swf file in IE

    Can anyone tell me why I am getting a border around my swf
    file with it is imbedded on a Html page and displayed in Internet
    Explorer on a PC?
    The swf acts as a link, (pointer becomes a finger), and when
    you click once in the swf area, the border disappears and the swf
    file becomes active and all other links are working .
    See f.ex.
    http://www.soundoil.com
    I am not getting this when viewing the site in other browsers
    or on the Mac.
    I use Golive CS and Flash MX.
    It looks like this is an IE issue. Do you know of a
    workaround?
    Thanks on beforehand
    ggaarde

    I've noticed, not just in this thread but all the other "10
    billion threads about this," that every single one of the fixes for
    this problem are oriented towards webpage developers -- not for the
    internet user. Forgive me if these forums (unbeknownst to me) are
    actually dedicated solely to web developers, but I'd still like to
    find a solution somewhere for this problem.
    An example of the problem I'm facing. The average Joe (such
    as myself) is browsing around webpages (including, for example, the
    webpage for my online homework) that haven't implemented a fix for
    this problem .... Thus, for every ActiveX control, forcing me to
    click it first before being able to use it. Just seeing this once
    isn't a big deal, but when it comes down to doing a slew of
    frustrating homework problems, and being forced to do an extra
    click at least once for every single problem ... that just becomes
    one extra irritant. And it's a problem on a lot of other webpages
    too.
    I obviously can't use the "fixes" provided in these topics,
    because they're
    coding fixes; I can't very well go in and alter commercial
    webpages. Of course, I could go and demand the Tech Support guys
    for
    every webpage I visit to adjust their websites and make
    accomodations for this problem. But that seems like a dumb choice,
    especially if there's a solution of some sort. Maybe a downloadable
    update, or an option in Internet Explorer's settings. Is there
    anything out there for the
    user to fix this problem? Or am I SOL? Perhaps I just need
    to "suck it up."
    Thanks in advance.

  • How do I put an outline border around a table i.e. without internal borders being displayed?

    Hi
    I'd appreciate some help with putting a border around a table
    as I'm sure
    I'm not doing this the best way!
    I selected my table then chose a thin (size 2) border and
    desired colour.
    The problem is this has put a border around every cell in the
    table.
    Trying to remove the internal borders has been very
    frustrating!
    Just be clear, when I say "remove the internal borders" I
    don't want to
    merge cells I just want to stop the borders displaying.
    So...
    Is there a quick way to simply put an outline border around
    the table?
    What is the best method for removing internal borders?
    Having got so used to the ease of formatting tables in MS
    Word this is a bit
    of a hair puller!!
    Thanks for your time.
    Happy New Year!!
    Ian

    Don't use the property inspector to add the border - you will
    need to use
    css...
    examples here:
    http://www.dreamweaverresources.com/tutorials/tableborder.htm
    Nadia
    Adobe® Community Expert : Dreamweaver
    Tutorials |SEO |Templates
    http://www.DreamweaverResources.com
    http://www.perrelink.com.au
    CSS Tutorials for Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/css.html
    "Ian R" <[email protected]> wrote in message
    news:eniufa$iaq$[email protected]..
    > Hi
    >
    > I'd appreciate some help with putting a border around a
    table as I'm sure
    > I'm not doing this the best way!
    >
    > I selected my table then chose a thin (size 2) border
    and desired colour.
    >
    > The problem is this has put a border around every cell
    in the table.
    >
    > Trying to remove the internal borders has been very
    frustrating!
    >
    > Just be clear, when I say "remove the internal borders"
    I don't want to
    > merge cells I just want to stop the borders displaying.
    >
    > So...
    >
    > Is there a quick way to simply put an outline border
    around the table?
    >
    > What is the best method for removing internal borders?
    >
    > Having got so used to the ease of formatting tables in
    MS Word this is a
    > bit of a hair puller!!
    >
    > Thanks for your time.
    >
    > Happy New Year!!
    >
    > Ian
    >

  • Add a border around an AWT Label

    I need to add a border around an AWT label like I would for a Swing Label. I do not have BorderFactory available in AWT. Is there an easy way to do this?
    Thanks,
    Chris

    Bump

  • How to achieve black border around a logo

    Hello,
    I am trying to do a parody of a Top Gun logo and have it done except for the border around the image. I know this is probably very simple and I've googled it but can't figured it out.
    Here is an example:
    http://www.redbubble.com/people/tgigreeny/works/7360099-top-gun-sundown-with-tomcat
    I want to create that black border/background colour and can't figure it out.
    Thanks for any help you can offer.
    Mary

    Well actually it is a bit more complex than I wrote
    1 You have to outline the text and
    2. united it with the art (color bars that hbe the same color)
    3. you have to give the object a stroke and drag it below the fill in the appearance panel
    4 the jet plane needs a fill of white
    5. the star needs a stroke with the stroke being draged below the fill in the appearaqnce panel
    6. then you group everything and give the group a sufficent weight stroke cover all the gaps
    7 and finally you drag the stroke you gave the group below the contents in the appearance panel (that means it is behind the groups contents the logo art.
    Like such ( You have to think this one out.)

  • I just bought a C4680 all-in-one new in box. It puts an irregular border around "borderless" prints

    I just bought a C4680 all-in-one new in box.  It puts an irregular border around "borderless" prints (at least in 8.5 x ll size) --border is about 1 inch on right, 3/4 at top, 3/8 at bottom and 3/16 at left.  How do I eliminate this?
      Using win XP.

    In iTunes on your computer, select the Purchased section under STORE in the left column. Click on the first track and choose "Get Info" from the "File" menu.
    In the "Summary" tab you'll see details of the purchaser of the track. Click Next to go through all your purchased music one by one until you find the ones you need to get rid of.
    Unfortunately, there are no smart playlist rules that can filter tracks by the purchaser that I know of.

  • Problem with white border around images

    Hey guys,
    I'm new to the creative suite and have just finished running through all of the video tutorials, etc. I'm having a small problem which can be seen in the sample site I'm fooling around with here:
    http://www.andrewedunn.com/gsd/
    I'd like to get rid of the small white border around the "GS" logo. It is an illustrator document.
    Basically I put the letters in place, converted them to paths (so I can resize it) and dropped it in my GoLive document as a smart object.
    A google such suggested rasterizing, but I couldn't get it to work after fooling with it a little bit.
    Further, if I wanted to add a drop shadow to it, how can I do it so that it is transparent on top of the background images in golive? The one time I tried it, the drop shadow was placed on top of a white background.
    Any suggestions would be appreciated!

    Are your background images always going to be displayed left-aligned on a black background and always the same size, so that the left half of the logo will always be over the photo and the right half will always be over the black? Or will the size or placement of the photos vary?
    Are all of the photographs in approximately the same moderate tonal range, or will some be bright and some dark?
    If the background will be consistently as you show it, you should be able to anti-alias your logo against a medium gray on the left and black on the right for acceptable results. If the background is more varied, you are not going to get good results with either GIF or JPG format.
    See this related thread:
    http://www.adobeforums.com/cgi-bin/webx/.3bc38b6e/3
    > Further, if I wanted to add a drop shadow to it, how can I do it so that it is transparent on top of the background images in golive?
    Only by exporting as a transparent PNG, but then older browers won't display it properly.
    If you are really needing to have a logo that casts transparent drop shadows on top of a wide variety of images, you might consider going the Flash route, even though you aren't planning animation. Flash has very good transparency handling, and there are Flash player plugins that are compatible with browsers that won't display PNG images.

Maybe you are looking for